Sha256: fd3d7ba5bc579b082ec1e45cfbdac862233dd8a4afeff9b25ec97d9c848fd426

Contents?: true

Size: 745 Bytes

Versions: 12

Compression:

Stored size: 745 Bytes

Contents

#!/usr/bin/env ruby

require File.dirname(__FILE__) + '/../../spec_helper'

require 'puppet/network/client'

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

12 entries across 12 versions & 1 rubygems

Version Path
puppet-2.6.11 spec/integration/network/handler_spec.rb
puppet-2.6.10 spec/integration/network/handler_spec.rb
puppet-2.6.9 spec/integration/network/handler_spec.rb
puppet-2.6.8 spec/integration/network/handler_spec.rb
puppet-2.6.7 spec/integration/network/handler_spec.rb
puppet-2.6.6 spec/integration/network/handler_spec.rb
puppet-2.6.5 spec/integration/network/handler_spec.rb
puppet-2.6.4 spec/integration/network/handler_spec.rb
puppet-2.6.3 spec/integration/network/handler_spec.rb
puppet-2.6.2 spec/integration/network/handler_spec.rb
puppet-2.6.1 spec/integration/network/handler_spec.rb
puppet-2.6.0 spec/integration/network/handler_spec.rb