[rspec-users] [Cucumber] Enforce a skip on a non-implemented step
Joseph Wilk
joe at josephwilk.net
Wed Feb 25 07:33:46 EST 2009
aidy lewis wrote:
> Hi,
>
> When we create step defintions. For example:
>
> When /^that data is loaded$/ do
>
> end
>
> The above is seen in the Cucucmber run as implemented.
>
> Is it possible to put something within this method to enforce a skip flag?
>
Do you mean something like the 'pending' function but it instead marks
the step as skipped?
When /^that data is loaded$/ do
skip
end
> Aidy
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users
>
>
--
Joseph Wilk
http://blog.josephwilk.net
More information about the rspec-users
mailing list