diff options
author | Luke Kanies <luke@madstop.com> | 2009-08-01 22:45:46 -0700 |
---|---|---|
committer | James Turnbull <james@lovedthanlost.net> | 2009-08-02 16:38:48 +1000 |
commit | 849fa67b6ebc69df9a5b8c95eb68281ccf45d376 (patch) | |
tree | a65ba7251d7913bc041eb2885fc7b1936596a4ba /spec/integration | |
parent | 6f458cca5379229da066787045b74acafb184c07 (diff) | |
download | puppet-849fa67b6ebc69df9a5b8c95eb68281ccf45d376.tar.gz puppet-849fa67b6ebc69df9a5b8c95eb68281ccf45d376.tar.xz puppet-849fa67b6ebc69df9a5b8c95eb68281ccf45d376.zip |
Migrating tests to spec and removing an obsolete test
Signed-off-by: Luke Kanies <luke@madstop.com>
Diffstat (limited to 'spec/integration')
-rwxr-xr-x | spec/integration/network/client.rb | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/spec/integration/network/client.rb b/spec/integration/network/client.rb new file mode 100755 index 000000000..970763712 --- /dev/null +++ b/spec/integration/network/client.rb @@ -0,0 +1,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 |