Juanma Cervera wrote:
Joseph Wilk wrote:
Woops, sorry I meant:

@@@
Cucumber::Rails.use_transactional_fixtures
@@@


Joseph, thanks for the reply.
I do have Cucumber::Rails.use_transactional_fixtures in env.rb

I have verified it failing when setting the database in the new background section of the feature. In that case I have to call manually db:test:prepare to clean up the database.
But it works like expected when I move the setup to the Scenario.

Juanma Cervera

The transactions are setup to start and be rolled back for each scenario.. Depending on how the Background section was implemented its setup may not be included in this transaction... So it sounds like it may be a bug with the new feature.
WDYT Joeseph?

-Ben
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to