Makes the migration test more repeatable.
parent
6dc3a6d2f7
commit
c2aa834a3a
|
@ -358,6 +358,7 @@ describe "DODB::DataBase" do
|
||||||
end
|
end
|
||||||
|
|
||||||
it "migrates properly" do
|
it "migrates properly" do
|
||||||
|
::FileUtils.rm_rf "test-storage-migration-origin"
|
||||||
old_db = DODB::DataBase(PrimitiveShip).new "test-storage-migration-origin"
|
old_db = DODB::DataBase(PrimitiveShip).new "test-storage-migration-origin"
|
||||||
|
|
||||||
old_ships_by_name = old_db.new_index "name", &.name
|
old_ships_by_name = old_db.new_index "name", &.name
|
||||||
|
|
Loading…
Reference in New Issue