diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-07-28 03:09:25 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-07-28 03:09:25 +0300 |
commit | 6ef57128d73e6f3d36af042a6b38d4779fda8b6d (patch) | |
tree | 66b5a1a5105969e8ba5d4b71885bcb04d631e646 /gems | |
parent | d74abe41c00eedb95738a74b9bbdea67e423103b (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'gems')
-rw-r--r-- | gems/gitlab-rspec/spec/gitlab/rspec/time_travel_spec.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gems/gitlab-rspec/spec/gitlab/rspec/time_travel_spec.rb b/gems/gitlab-rspec/spec/gitlab/rspec/time_travel_spec.rb index 79804a99f70..0dca5d00666 100644 --- a/gems/gitlab-rspec/spec/gitlab/rspec/time_travel_spec.rb +++ b/gems/gitlab-rspec/spec/gitlab/rspec/time_travel_spec.rb @@ -1,6 +1,7 @@ # frozen_string_literal: true RSpec.describe 'time travel' do + # rubocop:disable RSpec/BeforeAll before(:all) do @original_time_zone = Time.zone Time.zone = 'Eastern Time (US & Canada)' @@ -9,6 +10,7 @@ RSpec.describe 'time travel' do after(:all) do Time.zone = @original_time_zone end + # rubocop:enable RSpec/BeforeAll describe ':freeze_time' do it 'freezes time around a spec example', :freeze_time do |