[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, master, updated. debian/0.24.7-1-98-gf19c0e5

James Turnbull james at lovedthanlost.net
Wed Apr 8 21:48:16 UTC 2009


The following commit has been merged in the master branch:
commit c0f494334b374d6f0b0eb3d5741aaff70052d564
Author: James Turnbull <james at lovedthanlost.net>
Date:   Sun Feb 15 11:12:32 2009 +1100

    Minor fix to launchd tests

diff --git a/spec/unit/provider/service/launchd.rb b/spec/unit/provider/service/launchd.rb
index f2d69a4..8e657a6 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
     

-- 
Puppet packaging for Debian



More information about the Pkg-puppet-devel mailing list