summaryrefslogtreecommitdiffstats
path: root/spec/integration/network/client.rb
blob: 9707637127a1c16daee2cb3c8119f01cb125576c (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.dirname(__FILE__) + '/../../spec_helper'

require 'puppet/network/client'

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