summaryrefslogtreecommitdiffstats
path: root/spec/integration/network/client_spec.rb
blob: 07a491b1ba5b4021e26618d0f96160c876066d6d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/env ruby

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

require 'puppet/network/client'

describe Puppet::Network::Client do
  %w{ca file report 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