Signed-off-by: Stefan Schulte <stefan.schu...@taunusstein.net>
---
Local-branch: ticket/2.7.x/7299
 .../unit/util/network_device/transport/ssh_spec.rb |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/spec/unit/util/network_device/transport/ssh_spec.rb 
b/spec/unit/util/network_device/transport/ssh_spec.rb
index 18d22a9..60cf297 100755
--- a/spec/unit/util/network_device/transport/ssh_spec.rb
+++ b/spec/unit/util/network_device/transport/ssh_spec.rb
@@ -2,9 +2,10 @@
 
 require File.dirname(__FILE__) + '/../../../../spec_helper'
 
-require 'puppet/util/network_device/transport/ssh'
+require 'puppet/util/network_device/transport/ssh' if Puppet.features.ssh?
 
-describe Puppet::Util::NetworkDevice::Transport::Ssh, :if => 
Puppet.features.ssh? do
+# Use a string as description because the class is unknown if features.ssh? is 
false
+describe 'Puppet::Util::NetworkDevice::Transport::Ssh', :if => 
Puppet.features.ssh? do
 
   before(:each) do
     @transport = Puppet::Util::NetworkDevice::Transport::Ssh.new()
-- 
1.7.5.rc3

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To post to this group, send email to puppet-dev@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-dev+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-dev?hl=en.

Reply via email to