diff options
Diffstat (limited to 'spec/support/authentication.rb')
| -rw-r--r-- | spec/support/authentication.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/authentication.rb b/spec/support/authentication.rb index 18c4f31..47a7dc6 100644 --- a/spec/support/authentication.rb +++ b/spec/support/authentication.rb @@ -1,6 +1,6 @@ module HttpAuthentication def http_login(user, password = 'password') user_session = create(:session, user: user) - cookies.signed[:raphael] = user_session.id + cookies.signed[:raphael] = user_session.key end end |
