[rspec-users] cucumber/rspec pending call

James Byrne lists at ruby-forum.com
Tue Dec 2 14:47:49 EST 2008

Joseph Wilk wrote:

> When /set the "(.*)" to "(.*)"/ do |a,v|
>   raise Cucumber::Pending.new("I need to implement this asap")
> end

That works nicely.  The string argument does not show up anywhere that I 
could find when this is invoked from autotest but the step definition 
itself is treated as pending.  This technique also seems to have the 
effect of escaping any following code in the definition block.
Posted via http://www.ruby-forum.com/.

More information about the rspec-users mailing list