diff --git a/spec/test-ships.cr b/spec/test-ships.cr index fa1f359..7583148 100644 --- a/spec/test-ships.cr +++ b/spec/test-ships.cr @@ -235,7 +235,7 @@ describe "DODB::DataBase" do }.should be_true 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 end @@ -755,7 +755,7 @@ describe "DODB::CachedDataBase" do }.should be_true 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 end