summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoah Kantrowitz <noah@coderanger.net>2016-09-06 14:36:17 -0700
committerNoah Kantrowitz <noah@coderanger.net>2016-09-06 14:36:17 -0700
commit85164a9a0de7de959d338839c42f1fa1da67a80e (patch)
tree5e9a057d0710fa7c38966eaaba8cefda3fd457c1
parent1c990a11ebe360f5e85ac13626ce1e09e295f919 (diff)
downloadchef-85164a9a0de7de959d338839c42f1fa1da67a80e.tar.gz
Fix dispatcher tests.
Signed-off-by: Noah Kantrowitz <noah@coderanger.net>
-rw-r--r--spec/unit/event_dispatch/dispatcher_spec.rb4
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