Sha256: d27699b2a5975eb0b2de19e9041dda8007edfb4581f632e097fccf787aaf6f77
Contents?: true
Size: 714 Bytes
Versions: 31
Compression:
Stored size: 714 Bytes
Contents
#!/usr/bin/env rspec require 'spec_helper' require 'puppet/network/handler' describe Puppet::Network::Handler do %w{ca filebucket fileserver master report runner status}.each do |name| it "should have a #{name} client" do Puppet::Network::Handler.handler(name).should be_instance_of(Class) end it "should have a name" do Puppet::Network::Handler.handler(name).name.to_s.downcase.should == name.to_s.downcase end it "should have an interface" do Puppet::Network::Handler.handler(name).interface.should_not be_nil end it "should have a prefix for the interface" do Puppet::Network::Handler.handler(name).interface.prefix.should_not be_nil end end end
Version data entries
31 entries across 31 versions & 3 rubygems