Skip to content

Commit 8e68e67

Browse files
nolletohennevogel
authored andcommitted
Resert server timezone after cfp tests
1 parent 7395886 commit 8e68e67

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

spec/models/cfp_spec.rb

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,13 @@
131131
end
132132

133133
describe '#open?' do
134-
let(:timezone_minus11) { 'Pacific/Pago_Pago' }
134+
let!(:server_timezone) { Time.zone }
135135
let(:timezone_plus14) { 'Pacific/Apia' }
136+
let(:timezone_plus14) { 'Pacific/Apia' }
137+
138+
after do
139+
Time.zone = server_timezone
140+
end
136141

137142
context 'when is the same timezone between the conference and server' do
138143
before :each do

0 commit comments

Comments
 (0)