lib/gris/generators/templates/scaffold/spec/spec_helper.rb in gris-0.2.0 vs lib/gris/generators/templates/scaffold/spec/spec_helper.rb in gris-0.2.1

- old
+ new

@@ -19,9 +19,9 @@ ActiveRecord::Migration.maintain_test_schema! DatabaseCleaner.strategy = :transaction DatabaseCleaner.clean_with(:truncation) end - config.after(:each) do |_example| + config.before(:each) do DatabaseCleaner.clean end end