blob: 06d145a17255eea0df22c46cb7bff211d6f85b65 (
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 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
|