views:

18

answers:

1

Title says it all.

Preferably, I'd like something to go in this method defined in support/env.rb

After do |scenario|
end
A: 

Add these three lines at the bottom of your env.rb

# http://github.com/bmabey/database_cleaner for more info.
require 'database_cleaner'
DatabaseCleaner.strategy = :truncation

Rishav Rastogi
awesome, thankyou
DerNalia