[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, experimental, updated. debian/2.6.8-1-844-g7ec39d5

James Turnbull james at lovedthanlost.net
Tue May 10 08:11:46 UTC 2011


The following commit has been merged in the experimental branch:
commit 49dcc24195d262437cc35997a811eb724d65b48b
Author: James Turnbull <james at lovedthanlost.net>
Date:   Fri Apr 8 18:20:32 2011 +1000

    Updated confine in Spec test for RSpec 2

diff --git a/spec/unit/util/network_device/transport/ssh_spec.rb b/spec/unit/util/network_device/transport/ssh_spec.rb
index ddf6856..706dee4 100644
--- a/spec/unit/util/network_device/transport/ssh_spec.rb
+++ b/spec/unit/util/network_device/transport/ssh_spec.rb
@@ -4,8 +4,7 @@ require File.dirname(__FILE__) + '/../../../../spec_helper'
 
 require 'puppet/util/network_device/transport/ssh'
 
-describe Puppet::Util::NetworkDevice::Transport::Ssh do
-  confine "Missing net/ssh" => Puppet.features.ssh?
+describe Puppet::Util::NetworkDevice::Transport::Ssh, :if => Puppet.features.ssh? do
 
   before(:each) do
     @transport = Puppet::Util::NetworkDevice::Transport::Ssh.new()
@@ -209,4 +208,4 @@ describe Puppet::Util::NetworkDevice::Transport::Ssh do
     end
   end
 
-end
\ No newline at end of file
+end

-- 
Puppet packaging for Debian



More information about the Pkg-puppet-devel mailing list