diff options
author | Noah Kantrowitz <noah@coderanger.net> | 2016-09-06 14:36:17 -0700 |
---|---|---|
committer | Noah Kantrowitz <noah@coderanger.net> | 2016-09-06 14:36:17 -0700 |
commit | 85164a9a0de7de959d338839c42f1fa1da67a80e (patch) | |
tree | 5e9a057d0710fa7c38966eaaba8cefda3fd457c1 /spec/unit/event_dispatch | |
parent | 1c990a11ebe360f5e85ac13626ce1e09e295f919 (diff) | |
download | chef-85164a9a0de7de959d338839c42f1fa1da67a80e.tar.gz |
Fix dispatcher tests.
Signed-off-by: Noah Kantrowitz <noah@coderanger.net>
Diffstat (limited to 'spec/unit/event_dispatch')
-rw-r--r-- | spec/unit/event_dispatch/dispatcher_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/unit/event_dispatch/dispatcher_spec.rb b/spec/unit/event_dispatch/dispatcher_spec.rb index 2360b2675d..5061a9845f 100644 --- a/spec/unit/event_dispatch/dispatcher_spec.rb +++ b/spec/unit/event_dispatch/dispatcher_spec.rb @@ -52,8 +52,8 @@ describe Chef::EventDispatch::Dispatcher do dispatcher.synchronized_cookbook("apache2", cookbook_version) exception = StandardError.new("foo") - expect(event_sink).to receive(:recipe_file_load_failed).with("/path/to/file.rb", exception) - dispatcher.recipe_file_load_failed("/path/to/file.rb", exception) + expect(event_sink).to receive(:recipe_file_load_failed).with("/path/to/file.rb", exception, "myrecipe") + dispatcher.recipe_file_load_failed("/path/to/file.rb", exception, "myrecipe") end context "when an event sink has fewer arguments for an event" do |