Created
June 1, 2011 21:42
-
-
Save alexgodin/1003400 to your computer and use it in GitHub Desktop.
cucumber step
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
The step: | |
Given /^I am not authenticated$/ do | |
cookies.permanent.signed[:user_id] = nil | |
end | |
The error: | |
undefined method `permanent' for #<Rack::Test::CookieJar:0x00000100f8f8f8> (NoMethodError) | |
./features/step_definitions/sign_up_steps.rb:2:in `/^I am not authenticated$/' | |
features/sign_up.feature:8:in `And I am not authenticated' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment