diff options
author | James Turnbull <james@lovedthanlost.net> | 2009-02-15 11:12:32 +1100 |
---|---|---|
committer | James Turnbull <james@lovedthanlost.net> | 2009-02-15 11:12:32 +1100 |
commit | c0f494334b374d6f0b0eb3d5741aaff70052d564 (patch) | |
tree | e57df30d834934ff41bf1451844a090fd5a44996 | |
parent | 24d48e6c07ef634971fcb8ed5b27258db161a018 (diff) | |
download | puppet-c0f494334b374d6f0b0eb3d5741aaff70052d564.tar.gz puppet-c0f494334b374d6f0b0eb3d5741aaff70052d564.tar.xz puppet-c0f494334b374d6f0b0eb3d5741aaff70052d564.zip |
Minor fix to launchd tests
-rwxr-xr-x | spec/unit/provider/service/launchd.rb | 4 |
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 |