From c0f494334b374d6f0b0eb3d5741aaff70052d564 Mon Sep 17 00:00:00 2001 From: James Turnbull Date: Sun, 15 Feb 2009 11:12:32 +1100 Subject: Minor fix to launchd tests --- spec/unit/provider/service/launchd.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'spec/unit') 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 -- cgit