diff options
Diffstat (limited to 'spec/lib/gitlab/conan_token_spec.rb')
-rw-r--r-- | spec/lib/gitlab/conan_token_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/gitlab/conan_token_spec.rb b/spec/lib/gitlab/conan_token_spec.rb index b17f2eaa8d8..be1d3e757f5 100644 --- a/spec/lib/gitlab/conan_token_spec.rb +++ b/spec/lib/gitlab/conan_token_spec.rb @@ -85,7 +85,7 @@ RSpec.describe Gitlab::ConanToken do it 'returns the encoded JWT' do allow(SecureRandom).to receive(:uuid).and_return('u-u-i-d') - Timecop.freeze do + freeze_time do jwt = build_jwt(access_token_id: 123, user_id: 456) token = described_class.new(access_token_id: 123, user_id: 456) |