diff options
Diffstat (limited to 'spec')
-rwxr-xr-x | spec/integration/network/client.rb | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/spec/integration/network/client.rb b/spec/integration/network/client.rb new file mode 100755 index 000000000..970763712 --- /dev/null +++ b/spec/integration/network/client.rb @@ -0,0 +1,19 @@ +#!/usr/bin/env ruby + +require File.dirname(__FILE__) + '/../../spec_helper' + +require 'puppet/network/client' + +describe Puppet::Network::Client do + %w{ca dipper file report resource runner status}.each do |name| + it "should have a #{name} client" do + Puppet::Network::Client.client(name).should be_instance_of(Class) + end + + [:name, :handler, :drivername].each do |data| + it "should have a #{data} value for the #{name} client" do + Puppet::Network::Client.client(name).send(data).should_not be_nil + end + end + end +end |