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 ...@@ -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