Re: [rspec-users] setup for stories

2008-04-16 Thread Ashley Moran
On 16 Apr 2008, at 23:22, Joe Van Dyk wrote: > I've got some code that should run before any stories execute. > Where's a good place to put that? (need to create a @sessions and > @users hash) Ha, just before I got this reply out I noticed David had written the exact same email as me but press

Re: [rspec-users] setup for stories

2008-04-16 Thread David Chelimsky
On Apr 16, 2008, at 6:22 PM, Joe Van Dyk wrote: > I've got some code that should run before any stories execute. > Where's a good place to put that? (need to create a @sessions and > @users hash) The story framework has as simple listener API (not documented, but otherwise nice): class StoryS

[rspec-users] setup for stories

2008-04-16 Thread Joe Van Dyk
I've got some code that should run before any stories execute. Where's a good place to put that? (need to create a @sessions and @users hash) Joe ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users