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

Version Path
puppet-2.7.26 spec/integration/network/handler_spec.rb
puppet-2.7.25 spec/integration/network/handler_spec.rb
puppet-2.7.24 spec/integration/network/handler_spec.rb
puppet-2.7.23 spec/integration/network/handler_spec.rb
puppet-2.7.22 spec/integration/network/handler_spec.rb
puppet-2.7.21 spec/integration/network/handler_spec.rb
puppet-2.7.20 spec/integration/network/handler_spec.rb
puppet-2.7.20.rc1 spec/integration/network/handler_spec.rb
librarian-puppet-0.9.4 vendor/gems/ruby/1.8/gems/puppet-2.7.18/spec/integration/network/handler_spec.rb
puppet-2.7.19 spec/integration/network/handler_spec.rb
supply_drop-0.11.0 examples/vendored-puppet/vendor/puppet-2.7.8/spec/integration/network/handler_spec.rb
librarian-puppet-0.9.3 vendor/gems/ruby/1.8/gems/puppet-2.7.18/spec/integration/network/handler_spec.rb
supply_drop-0.10.2 examples/vendored-puppet/vendor/puppet-2.7.8/spec/integration/network/handler_spec.rb
puppet-2.7.18 spec/integration/network/handler_spec.rb
supply_drop-0.10.1 examples/vendored-puppet/vendor/puppet-2.7.8/spec/integration/network/handler_spec.rb
supply_drop-0.10.0 examples/vendored-puppet/vendor/puppet-2.7.8/spec/integration/network/handler_spec.rb
puppet-2.7.17 spec/integration/network/handler_spec.rb
puppet-2.7.16 spec/integration/network/handler_spec.rb
puppet-2.7.14 spec/integration/network/handler_spec.rb
puppet-2.7.13 spec/integration/network/handler_spec.rb