[rspec-users] stale records with integration testing?

Patrick J. Collins patrick at collinatorstudios.com
Mon Feb 13 15:16:21 EST 2012


I was writing an integration test for my user signup form (with
capybara), and found that my test was failing due to a validation error:
"email is already taken".  I'm a bit confused because I thought when I
run "rspec spec/some_spec.rb", the test database would be wiped clear?

Is that not the case?

Patrick J. Collins

More information about the rspec-users mailing list