diff options
| author | mo khan <mo@mokhan.ca> | 2014-11-15 10:34:55 -0700 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2014-11-15 10:34:55 -0700 |
| commit | acb6b46a6127c1e6ce99eb7777728e98f1b02060 (patch) | |
| tree | ffd95d1f931ade12e87e22cf6f6139c6fd5f2209 /spec/support | |
| parent | 2059e8bd25d0ad79aaa1099314eddda5cd8c7f4e (diff) | |
Diffstat (limited to 'spec/support')
| -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 |
