From fa4d32cfd7b35f9c80ebb8c92b5e00ff70a27181 Mon Sep 17 00:00:00 2001 From: Markus Roberts Date: Mon, 6 Sep 2010 19:48:45 -0700 Subject: Fix for #4646 -- Missing stub The test was expecting a stub object but wasn't providing one. --- spec/unit/application/apply_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/unit/application/apply_spec.rb b/spec/unit/application/apply_spec.rb index 8c53136d0..85098f490 100755 --- a/spec/unit/application/apply_spec.rb +++ b/spec/unit/application/apply_spec.rb @@ -312,7 +312,7 @@ describe Puppet::Application::Apply do end it "should apply the catalog" do - @catalog.expects(:apply) + @catalog.expects(:apply).returns(stub_everything 'transaction') @apply.main end -- cgit