summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorToon Claes <toon@gitlab.com>2017-05-09 22:57:01 +0200
committerToon Claes <toon@gitlab.com>2017-05-09 22:57:01 +0200
commitb550de51b9c84ce8500eb104f57e60746727e7c2 (patch)
treef193330b114845b66c1f25b5ae59d79bffca79dc /spec
parentab7c90331f8e77ef6c8c1d77ce817aaf066e7842 (diff)
downloadgitlab-ce-b550de51b9c84ce8500eb104f57e60746727e7c2.tar.gz
Revert "Fix OpenID spec failure that assumed current_sign_in_at would be set"tc-fix-openid-sign-in-at-again
This reverts commit 73f448e589f46865140412754a9c97df52dc16c7.
Diffstat (limited to 'spec')
-rw-r--r--spec/requests/openid_connect_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/requests/openid_connect_spec.rb b/spec/requests/openid_connect_spec.rb
index eb03884b8dc..fbb69bc0920 100644
--- a/spec/requests/openid_connect_spec.rb
+++ b/spec/requests/openid_connect_spec.rb
@@ -1,7 +1,7 @@
require 'spec_helper'
describe 'OpenID Connect requests' do
- let(:user) { create(:user, current_sign_in_at: Time.now) }
+ let(:user) { create :user }
let(:access_grant) { create :oauth_access_grant, application: application, resource_owner_id: user.id }
let(:access_token) { create :oauth_access_token, application: application, resource_owner_id: user.id }