Re: [rspec-users] [Cucumber] cucumber command does not work in db transaction

2009-01-29 Thread Joseph Wilk
Ben Mabey wrote: 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

Re: [rspec-users] [Cucumber] cucumber command does not work in db transaction

2009-01-29 Thread Ben Mabey
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

Re: [rspec-users] [Cucumber] cucumber command does not work in db transaction

2009-01-29 Thread Juanma Cervera
For now I am running this command (together) rake db:test:prepare && cucumber -r features -l es features/reservas/creacion_reserva.feature Juanma -- Posted via http://www.ruby-forum.com/. ___ rspec-users mailing list rspec-users@rubyforge.org http://

Re: [rspec-users] [Cucumber] cucumber command does not work in db transaction

2009-01-29 Thread Juanma Cervera
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.

Re: [rspec-users] [Cucumber] cucumber command does not work in db transaction

2009-01-29 Thread Joseph Wilk
Woops, sorry I meant: @@@ Cucumber::Rails.use_transactional_fixtures @@@ Joseph Wilk wrote: Juanma Cervera wrote: I am working in an scenario and it's still failing. I have not yet finished it. And I am running it constantly with the cucumber command, not with rake. The problem is that it's

Re: [rspec-users] [Cucumber] cucumber command does not work in db transaction

2009-01-29 Thread Joseph Wilk
Juanma Cervera wrote: I am working in an scenario and it's still failing. I have not yet finished it. And I am running it constantly with the cucumber command, not with rake. The problem is that it's not working with the database in a transaction, and I have to run 'rake db:test:prepare' manuall

[rspec-users] [Cucumber] cucumber command does not work in db transaction

2009-01-29 Thread Juanma Cervera
I am working in an scenario and it's still failing. I have not yet finished it. And I am running it constantly with the cucumber command, not with rake. The problem is that it's not working with the database in a transaction, and I have to run 'rake db:test:prepare' manually between two sequential