summaryrefslogtreecommitdiff
path: root/spec/support
diff options
context:
space:
mode:
Diffstat (limited to 'spec/support')
-rw-r--r--spec/support/authentication.rb2
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