Makes the migration test more repeatable.
This commit is contained in:
parent
6dc3a6d2f7
commit
c2aa834a3a
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Reference in a new issue