diff options
Diffstat (limited to 'spec/lib/gitlab/danger/teammate_spec.rb')
-rw-r--r-- | spec/lib/gitlab/danger/teammate_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/gitlab/danger/teammate_spec.rb b/spec/lib/gitlab/danger/teammate_spec.rb index 6fd32493d6b..5a47d74a7f3 100644 --- a/spec/lib/gitlab/danger/teammate_spec.rb +++ b/spec/lib/gitlab/danger/teammate_spec.rb @@ -149,7 +149,7 @@ RSpec.describe Gitlab::Danger::Teammate do describe '#local_hour' do around do |example| - Timecop.freeze(Time.utc(2020, 6, 23, 10)) { example.run } + travel_to(Time.utc(2020, 6, 23, 10)) { example.run } end context 'when author is given' do |