[rspec-devel] Hooks in the story runner

David Chelimsky dchelimsky at gmail.com
Tue Nov 13 19:26:43 EST 2007


On Nov 13, 2007 5:49 PM, Alvin Schur <a.schur at nucleus.com> wrote:
> Is there a hook in the story runner that allows me to run code before
> and after each scenario?
>
> My goal is to wrap each Scenario in a transaction to a second database.

There's not now but I'm working on one. I'll follow up later today or tomorrow.

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


More information about the rspec-devel mailing list