On Thu, May 28, 2009 at 1:31 PM, Ben Lovell <benjamin.lov...@gmail.com> wrote: > On Thu, May 28, 2009 at 6:05 PM, Rick DeNatale <rick.denat...@gmail.com> > wrote: >> >> Now you don't happen to be using the recently released autotest-mac >> gem are you? It does automatically run scenarios, and I'd like to be >> able to control that as well. >> >> Rick DeNatale
It seems to always try to run Cucumber scenarios but only after specs have passed. Looking at the code in the gem it seems to control whether or not to run scenarios under control of an instance variable named surprisingly enough @run_scenarios It initializes this to false with it first installs the :run_command hook, but then in the :ran_command hook it sets it to true as soon as the specs run with no failures -- Rick DeNatale Blog: http://talklikeaduck.denhaven2.com/ Twitter: http://twitter.com/RickDeNatale WWR: http://www.workingwithrails.com/person/9021-rick-denatale LinkedIn: http://www.linkedin.com/in/rickdenatale _______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users