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
end
context 'when the timezone makes date one day in advance' do
before do
Time.zone = 'Auckland'
around do |example|
Time.use_zone('Auckland') { example.run }
end
it 'executes the SyncSeatLinkRequestWorker with expected params' do
......@@ -64,8 +64,8 @@ describe SyncSeatLinkWorker, type: :worker do
end
context 'when the timezone makes date one day before than UTC' do
before do
Time.zone = 'Central America'
around do |example|
Time.use_zone('Central America') { example.run }
end
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