Skip to content

Instantly share code, notes, and snippets.

@benaskins
Created November 19, 2008 00:53
Show Gist options
  • Save benaskins/26355 to your computer and use it in GitHub Desktop.
Save benaskins/26355 to your computer and use it in GitHub Desktop.
Then /^I should see an ordered list of "(.*)"$/ do |dom_id|
response.should have_selector("ol##{dom_id}")
end
And I should see an ordered list of "modules" # features/steps/common_webrat.rb:54
undefined method `has_selector?' for #<ActionController::RackResponse:0x40a7e78> (NoMethodError)
./features/steps/common_webrat.rb:55:in `And /^I should see an ordered list of "(.*)"$/'
features/manage_pages.feature:28:in `And I should see an ordered list of "modules"'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment