Re: [rspec-users] Running a specific row in cucumber example table

2009-10-05 Thread Matt Wynne
On 5 Oct 2009, at 09:49, Zoltan Penzeli wrote: I have no idea if this will work, but you could try to sense for the table row you want to skip in a Before block, then call skip_invoke! on it: Before(scenario_or_example_row) do if the_one_to_skip?(scenario_or_example_row) scenario_or_ex

Re: [rspec-users] Running a specific row in cucumber example table

2009-10-05 Thread Zoltan Penzeli
> I have no idea if this will work, but you could try to sense for the > table row you want to skip in a Before block, then call skip_invoke! > on it: > > Before(scenario_or_example_row) do >if the_one_to_skip?(scenario_or_example_row) > scenario_or_example_row.skip_invoke! >end > en

Re: [rspec-users] Running a specific row in cucumber example table

2009-10-02 Thread Matt Wynne
On 2 Oct 2009, at 17:16, Sam Treweek wrote: I want to be able to execute only 1 row in an Scenario/Outline Example table. Is there a method already created for me to access. I have certain validation rules for only running 1 row of data coming from an external request to execute cuke. So havin

Re: [rspec-users] Running a specific row in cucumber example table

2009-10-02 Thread David Chelimsky
On Fri, Oct 2, 2009 at 11:16 AM, Sam Treweek wrote: > I want to be able to execute only 1 row in an Scenario/Outline Example > table. Is there a method already created for me to access. I have > certain validation rules for only running 1 row of data coming from an > external request to execute cu

[rspec-users] Running a specific row in cucumber example table

2009-10-02 Thread Sam Treweek
I want to be able to execute only 1 row in an Scenario/Outline Example table. Is there a method already created for me to access. I have certain validation rules for only running 1 row of data coming from an external request to execute cuke. So having something in a step_definition file like: tes