diff options
Diffstat (limited to 'spec/lib/gitlab/ci/jwt_spec.rb')
-rw-r--r-- | spec/lib/gitlab/ci/jwt_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/gitlab/ci/jwt_spec.rb b/spec/lib/gitlab/ci/jwt_spec.rb index a15f3310dab..9b133efad9c 100644 --- a/spec/lib/gitlab/ci/jwt_spec.rb +++ b/spec/lib/gitlab/ci/jwt_spec.rb @@ -20,7 +20,7 @@ RSpec.describe Gitlab::Ci::Jwt do subject(:payload) { described_class.new(build, ttl: 30).payload } it 'has correct values for the standard JWT attributes' do - Timecop.freeze do + freeze_time do now = Time.now.to_i aggregate_failures do |