summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Turnbull <james@lovedthanlost.net>2009-02-15 11:12:32 +1100
committerJames Turnbull <james@lovedthanlost.net>2009-02-15 11:12:32 +1100
commitc0f494334b374d6f0b0eb3d5741aaff70052d564 (patch)
treee57df30d834934ff41bf1451844a090fd5a44996
parent24d48e6c07ef634971fcb8ed5b27258db161a018 (diff)
downloadpuppet-c0f494334b374d6f0b0eb3d5741aaff70052d564.tar.gz
puppet-c0f494334b374d6f0b0eb3d5741aaff70052d564.tar.xz
puppet-c0f494334b374d6f0b0eb3d5741aaff70052d564.zip
Minor fix to launchd tests
-rwxr-xr-xspec/unit/provider/service/launchd.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/unit/provider/service/launchd.rb b/spec/unit/provider/service/launchd.rb
index f2d69a47b..8e657a622 100755
--- a/spec/unit/provider/service/launchd.rb
+++ b/spec/unit/provider/service/launchd.rb
@@ -67,11 +67,11 @@ describe provider_class do
end
it "should return stopped if not listed in launchctl list output" do
@provider.stubs(:launchctl).with(:list).returns("rotating-strawberry-madonnas")
- assert_equal @provider.status, :stopped
+ @provider.status.should == :stopped
end
it "should return running if listed in launchctl list output" do
@provider.stubs(:launchctl).with(:list).returns(@joblabel)
- assert_equal @provider.status, :running
+ @provider.status.should == :running
end
end