Skip to content

Commit ea580e2

Browse files
committed
Fixed broken TimerSet specs.
1 parent bb4b9b0 commit ea580e2

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

spec/concurrent/executor/timer_set_spec.rb

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,14 @@ module Concurrent
1111

1212
context 'construction' do
1313

14+
before(:all) do
15+
reset_gem_configuration
16+
end
17+
18+
after(:each) do
19+
reset_gem_configuration
20+
end
21+
1422
it 'uses the executor given at construction' do
1523
executor = Concurrent.global_immediate_executor
1624
expect(executor).to receive(:post).with(no_args)

0 commit comments

Comments
 (0)