Created
July 23, 2009 08:02
-
-
Save awesome/152510 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# @member is set by a factory before reaching this step | |
Then /^I should be at edit_member page$/ do | |
response.request.env["REQUEST_URI"].should contain("/members/#{@member.id}/edit") | |
end | |
# this better | |
Then /^I should be at no_access page$/ do | |
response.request.env["REQUEST_URI"].should == "/no_access" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment