summaryrefslogtreecommitdiffstats
path: root/spec/unit/provider/service
diff options
context:
space:
mode:
authorJames Turnbull <james@lovedthanlost.net>2008-12-09 14:28:35 +1100
committerJames Turnbull <james@lovedthanlost.net>2008-12-09 14:28:35 +1100
commit4418b3436e96b6aa8d2310fe87e315533ed53415 (patch)
tree889c8a0a7a9fb79d487ac7b473ffc468a4f84766 /spec/unit/provider/service
parent4b2bdf981431b11b6c9829d3c2d81abe0f1c71ba (diff)
downloadpuppet-4418b3436e96b6aa8d2310fe87e315533ed53415.tar.gz
puppet-4418b3436e96b6aa8d2310fe87e315533ed53415.tar.xz
puppet-4418b3436e96b6aa8d2310fe87e315533ed53415.zip
Fix launchd service test on non-OSX platforms
Diffstat (limited to 'spec/unit/provider/service')
-rwxr-xr-xspec/unit/provider/service/launchd.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/provider/service/launchd.rb b/spec/unit/provider/service/launchd.rb
index 9650ea423..cc2dae190 100755
--- a/spec/unit/provider/service/launchd.rb
+++ b/spec/unit/provider/service/launchd.rb
@@ -62,7 +62,7 @@ describe provider_class do
describe "when checking status" do
it "should call the external command 'launchctl list' once" do
- @provider.expects("launchctl").with(:list, @resource[:name]).returns(:running).once
+ @provider.expects(:launchctl).with(:list, @resource[:name]).returns(:running).once
@provider.status
end
end