Makes the migration test more repeatable.

remotes/1708105384931250775/master
Luka Vandervelden 2020-01-17 13:07:41 +01:00
parent 6dc3a6d2f7
commit c2aa834a3a
1 changed files with 1 additions and 0 deletions

View File

@ -358,6 +358,7 @@ describe "DODB::DataBase" do
end
it "migrates properly" do
::FileUtils.rm_rf "test-storage-migration-origin"
old_db = DODB::DataBase(PrimitiveShip).new "test-storage-migration-origin"
old_ships_by_name = old_db.new_index "name", &.name