Commit b2312db6 authored by Heinrich Lee Yu's avatar Heinrich Lee Yu

Merge branch 'fix-broken-master-213047' into 'master'

Fix broken master 213047

See merge request gitlab-org/gitlab!28502
parents 0508ef6c 6a220965
...@@ -43,8 +43,8 @@ describe SyncSeatLinkWorker, type: :worker do ...@@ -43,8 +43,8 @@ describe SyncSeatLinkWorker, type: :worker do
end end
context 'when the timezone makes date one day in advance' do context 'when the timezone makes date one day in advance' do
before do around do |example|
Time.zone = 'Auckland' Time.use_zone('Auckland') { example.run }
end end
it 'executes the SyncSeatLinkRequestWorker with expected params' do it 'executes the SyncSeatLinkRequestWorker with expected params' do
...@@ -64,8 +64,8 @@ describe SyncSeatLinkWorker, type: :worker do ...@@ -64,8 +64,8 @@ describe SyncSeatLinkWorker, type: :worker do
end end
context 'when the timezone makes date one day before than UTC' do context 'when the timezone makes date one day before than UTC' do
before do around do |example|
Time.zone = 'Central America' Time.use_zone('Central America') { example.run }
end end
it 'executes the SyncSeatLinkRequestWorker with expected params' do it 'executes the SyncSeatLinkRequestWorker with expected params' 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