Commit 82f3d86d authored by Rémy Coutable's avatar Rémy Coutable

Fix conflicts related to Timecop safe methods

Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent 9dfd3945
...@@ -15,17 +15,12 @@ describe 'Issue Boards', js: true do ...@@ -15,17 +15,12 @@ describe 'Issue Boards', js: true do
let!(:list) { create(:list, board: board, label: development, position: 0) } let!(:list) { create(:list, board: board, label: development, position: 0) }
let(:card) { find('.board:nth-child(2)').first('.card') } let(:card) { find('.board:nth-child(2)').first('.card') }
<<<<<<< HEAD
before do
Timecop.freeze
stub_licensed_features(multiple_issue_assignees: false)
=======
around do |example| around do |example|
Timecop.freeze { example.run } Timecop.freeze { example.run }
end end
>>>>>>> ce-com/master
before do before do
stub_licensed_features(multiple_issue_assignees: false)
project.add_master(user) project.add_master(user)
sign_in(user) sign_in(user)
......
...@@ -175,15 +175,7 @@ describe Gitlab::Git::Storage::CircuitBreaker, clean_gitlab_redis_shared_state: ...@@ -175,15 +175,7 @@ describe Gitlab::Git::Storage::CircuitBreaker, clean_gitlab_redis_shared_state:
describe '#track_storage_inaccessible' do describe '#track_storage_inaccessible' do
around do |example| around do |example|
<<<<<<< HEAD
Timecop.freeze
example.run
Timecop.return
=======
Timecop.freeze { example.run } Timecop.freeze { example.run }
>>>>>>> ce-com/master
end end
it 'records the failure time in redis' do it 'records the failure time in redis' do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment