diff --git a/rails_event_store_active_record/spec/migration_generator_spec.rb b/rails_event_store_active_record/spec/migration_generator_spec.rb
index <HASH>..<HASH> 100644
--- a/rails_event_store_active_record/spec/migration_generator_spec.rb
+++ b/rails_event_store_active_record/spec/migration_generator_spec.rb
@@ -5,7 +5,7 @@ require 'fakefs'
 module RailsEventStoreActiveRecord
   describe MigrationGenerator do
     specify do
-      FakeFS do
+      FakeFS.with_fresh do
         FakeFS::FileSystem.clone(File.expand_path('../../', __FILE__))
         stub_const("Rails::VERSION::STRING", "4.2.8")
You had one job.

FakeFS.with_fresh ensures fake filesystem is cleared in the test run.
Random test order uncovered this issue.