Commit 6a220965 authored by Shinya Maeda's avatar Shinya Maeda

Fix broken master 213047

This commit fixes the broken master
parent 98a3c565
......@@ -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