lib/grape/app/templates/spec/spec_helper.rb in grape-app-0.8.6 vs lib/grape/app/templates/spec/spec_helper.rb in grape-app-0.8.7

- old
+ new

@@ -10,10 +10,10 @@ # DatabaseCleaner config.before :suite do DatabaseCleaner.strategy = :transaction DatabaseCleaner.clean_with :truncation end - config.around :each do |example| + config.around do |example| DatabaseCleaner.cleaning { example.run } end # FactoryBot config.include FactoryBot::Syntax::Methods