[rspec-devel] Cucumber transactions

David Chelimsky dchelimsky at gmail.com
Wed Sep 24 21:55:32 EDT 2008


On Wed, Sep 24, 2008 at 8:49 PM, Scott Taylor
<mailing_lists at railsnewbie.com> wrote:
>
> How often are transactions rolled back in Cucumber?  Is it once a scenario,
> or once for a whole story file?

Scenarios. Take a look at
http://github.com/aslakhellesoy/cucumber/tree/master/lib/cucumber/rails/world.rb.
Before and After happen at Scenario boundaries

Cheers,
David

>
> Scott
>
> _______________________________________________
> rspec-devel mailing list
> rspec-devel at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-devel
>


More information about the rspec-devel mailing list