Skip to content

Commit 47dd5b4

Browse files
committed
TimerTask spec: avoid RSpec warning
1 parent 9f8de56 commit 47dd5b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/concurrent/timer_task_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ def trigger_observable(observable)
129129
it 'raises an exception if no block given' do
130130
expect {
131131
Concurrent::TimerTask.execute
132-
}.to raise_error
132+
}.to raise_error(ArgumentError)
133133
end
134134

135135
specify '#execution_interval is writeable' do

0 commit comments

Comments
 (0)