summaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
authorMarkus Roberts <Markus@reality.com>2010-09-06 19:48:45 -0700
committerJames Turnbull <james@lovedthanlost.net>2010-09-07 15:24:31 +1000
commitfa4d32cfd7b35f9c80ebb8c92b5e00ff70a27181 (patch)
treeaacc88dda53fdabcf2d1680cfbee4950f4a20afe /spec
parent4d55c6e72f2576fe7ab27f874db030de5ab6fcee (diff)
downloadpuppet-fa4d32cfd7b35f9c80ebb8c92b5e00ff70a27181.tar.gz
puppet-fa4d32cfd7b35f9c80ebb8c92b5e00ff70a27181.tar.xz
puppet-fa4d32cfd7b35f9c80ebb8c92b5e00ff70a27181.zip
Fix for #4646 -- Missing stub
The test was expecting a stub object but wasn't providing one.
Diffstat (limited to 'spec')
-rwxr-xr-xspec/unit/application/apply_spec.rb2
1 files changed, 1 insertions, 1 deletions
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