Test ships: new API.
This commit is contained in:
parent
7a342f8391
commit
b0d59c92dc
@ -235,7 +235,7 @@ describe "DODB::DataBase" do
|
|||||||
}.should be_true
|
}.should be_true
|
||||||
end
|
end
|
||||||
|
|
||||||
db_ships_by_class.get?("does-not-exist").should be_nil
|
db_ships_by_class.get?("does-not-exist").should eq([] of Ship)
|
||||||
|
|
||||||
db.rm_storage_dir
|
db.rm_storage_dir
|
||||||
end
|
end
|
||||||
@ -755,7 +755,7 @@ describe "DODB::CachedDataBase" do
|
|||||||
}.should be_true
|
}.should be_true
|
||||||
end
|
end
|
||||||
|
|
||||||
db_ships_by_class.get?("does-not-exist").should be_nil
|
db_ships_by_class.get?("does-not-exist").should eq([] of Ship)
|
||||||
|
|
||||||
db.rm_storage_dir
|
db.rm_storage_dir
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user