summaryrefslogtreecommitdiffstats
path: root/spec/unit/application/puppetrun.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/unit/application/puppetrun.rb')
-rwxr-xr-xspec/unit/application/puppetrun.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/application/puppetrun.rb b/spec/unit/application/puppetrun.rb
index ce3af5a5b..f8ca48061 100755
--- a/spec/unit/application/puppetrun.rb
+++ b/spec/unit/application/puppetrun.rb
@@ -258,7 +258,7 @@ describe "run" do
end
it "should call run on a Puppet::Run for the given host" do
- @run.expects(:save).with{|req| req.uri == 'https://host:8139/production/run/host'}.returns(@run)
+ @run.expects(:save).with('https://host:8139/production/run/host').returns(@run)
@run.run_for_host('host')
end