[rspec-users] debuggin cucmber script in ruby
Mark Wilden
mark at mwilden.com
Tue Apr 7 12:01:22 EDT 2009
On Tue, Apr 7, 2009 at 7:30 AM, aidy lewis <aidy.lewis at googlemail.com> wrote:
>
> Some useful tips, but I feel the ruby-debug tutorials that exist are
> lacking. Would it be fitting for me to add a Cucumber and ruby-debug
> page on the Wiki?
With webrat, the following is pretty useful:
When /^I view the response$/ do
save_and_open_page
end
More information about the rspec-users
mailing list