From c2aa834a3a6fa27fadc64e15304ef7e6837877e9 Mon Sep 17 00:00:00 2001 From: Luka Vandervelden Date: Fri, 17 Jan 2020 13:07:41 +0100 Subject: [PATCH] Makes the migration test more repeatable. --- spec/test.cr | 1 + 1 file changed, 1 insertion(+) diff --git a/spec/test.cr b/spec/test.cr index 8613e78..c56e977 100644 --- a/spec/test.cr +++ b/spec/test.cr @@ -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