Hello,
I am currently attempting to test a rails3 application with the
selenium. I have written my first test and it works fine however my
second test fails. I get an error when a user signs up saying the
email address is already taken. This suggests to me that the database
is not clean when running the second test.
I investigated and found that that i need to set
Cucumber::Rails::World.use_transactional_fixtures = false which i have
in my support/env.rb and that the features have the correct tag on
them in this case its "@selenium". From the source at
http://github.com/aslakhellesoy/cucumber-rails/blob/master/lib/cucumber/rails/active_record.rb
I am assuming that this is handled automatically however when I look
at my test.log file there is no record of any clean operations being
performed on the database. What step have I overlooked?