Friday, December 17, 2010

Debugging: Show the webpage after a cucumber step

# Example
Scenario: Signing in
When I go to the home page
And I fill in "username" with "john"
And I fill in "password" with "john"
Then show me the page

# Actual implementation
# Uses webrat's method
Then /^show me the page$/ do

No comments:

Blog Archive