Skip to content

Instantly share code, notes, and snippets.

@awesome
Created July 22, 2009 21:39
Show Gist options
  • Save awesome/152299 to your computer and use it in GitHub Desktop.
Save awesome/152299 to your computer and use it in GitHub Desktop.
Then(/^I should be at (.+?) page$/) do |page_name|
request.path.should =~ /^#{path_to(page_name + " page")}/
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment