diff --git a/features/support/env.rb b/features/support/env.rb index 9f3b86d..a83a227 100644 --- a/features/support/env.rb +++ b/features/support/env.rb @@ -31,7 +31,7 @@ # Remove/comment out the lines below if your app doesn't have a database. # For some databases (like MongoDB and CouchDB) you may need to use :truncation instead. begin - DatabaseCleaner.strategy = :transaction + DatabaseCleaner.strategy = :truncation rescue NameError raise "You need to add database_cleaner to your Gemfile (in the :test group) if you wish to use it." end