Skip to content

Commit

Permalink
TimerTask spec: avoid RSpec warning
Browse files Browse the repository at this point in the history
  • Loading branch information
olleolleolle authored and pitr-ch committed Feb 21, 2018
1 parent e34efc6 commit 3e438b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/concurrent/timer_task_spec.rb
Expand Up @@ -129,7 +129,7 @@ def trigger_observable(observable)
it 'raises an exception if no block given' do
expect {
Concurrent::TimerTask.execute
}.to raise_error
}.to raise_error(ArgumentError)
end

specify '#execution_interval is writeable' do
Expand Down

0 comments on commit 3e438b9

Please sign in to comment.