Skip to content

Commit

Permalink
Actor spec: avoid RSpec warnings
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 d3ce358 commit cf1e262
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/concurrent/actor_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def on_message(message)
end

it 'forbids Immediate executor' do
expect { Utils::AdHoc.spawn! name: 'test', executor: ImmediateExecutor.new }.to raise_error
expect { Utils::AdHoc.spawn! name: 'test', executor: ImmediateExecutor.new }.to raise_error(ArgumentError)
end

describe 'spawning' do
Expand Down

0 comments on commit cf1e262

Please sign in to comment.