4
require 'puppet/network/client'
6
describe Puppet::Network::Handler do
7
%w{ca filebucket fileserver master report runner status}.each do |name|
8
it "should have a #{name} client" do
9
Puppet::Network::Handler.handler(name).should be_instance_of(Class)
12
it "should have a name" do
13
Puppet::Network::Handler.handler(name).name.to_s.downcase.should == name.to_s.downcase
16
it "should have an interface" do
17
Puppet::Network::Handler.handler(name).interface.should_not be_nil
20
it "should have a prefix for the interface" do
21
Puppet::Network::Handler.handler(name).interface.prefix.should_not be_nil