[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch,	upstream, updated. 0.25.5-639-g8f94f35
    Jesse Wolfe 
    jes5199 at gmail.com
       
    Wed Jul 14 10:35:23 UTC 2010
    
    
  
The following commit has been merged in the upstream branch:
commit cf9bcad6bfdaf730a41f9429a8e2d140b8d1d51d
Author: Matt Robinson <matt at puppetlabs.com>
Date:   Thu Jun 24 18:42:15 2010 -0700
    maint: Fixing test to reflect that host environment assignment now takes an object instead of a string
diff --git a/spec/unit/rails/host_spec.rb b/spec/unit/rails/host_spec.rb
index 45d4808..ac08963 100755
--- a/spec/unit/rails/host_spec.rb
+++ b/spec/unit/rails/host_spec.rb
@@ -40,7 +40,7 @@ describe "Puppet::Rails::Host" do
             Puppet::Rails::Host.expects(:find_by_name).with("foo").returns @host
 
             @node.environment = "production"
-            @host.expects(:environment=).with "production"
+            @host.expects(:environment=).with {|x| x.name.to_s == 'production' }
 
             Puppet::Rails::Host.from_puppet(@node)
         end
-- 
Puppet packaging for Debian
    
    
More information about the Pkg-puppet-devel
mailing list