diff options
| author | Luke Kanies <luke@madstop.com> | 2009-01-23 17:55:16 -0600 |
|---|---|---|
| committer | Luke Kanies <luke@madstop.com> | 2009-02-06 18:08:42 -0600 |
| commit | f38277fb7d044394665db369892c01162b866863 (patch) | |
| tree | 1ed8048047d8f2ed5d63575d6f0dd13d1a69b503 /spec/unit | |
| parent | c48525bbf138288d9ae920c598a634c8a5f2cb46 (diff) | |
Adding REST support for facts and catalogs.
Signed-off-by: Luke Kanies <luke@madstop.com>
Diffstat (limited to 'spec/unit')
| -rwxr-xr-x | spec/unit/indirector/catalog/rest.rb | 11 | ||||
| -rwxr-xr-x | spec/unit/indirector/facts/rest.rb | 11 |
2 files changed, 22 insertions, 0 deletions
diff --git a/spec/unit/indirector/catalog/rest.rb b/spec/unit/indirector/catalog/rest.rb new file mode 100755 index 000000000..909e0a89e --- /dev/null +++ b/spec/unit/indirector/catalog/rest.rb @@ -0,0 +1,11 @@ +#!/usr/bin/env ruby + +require File.dirname(__FILE__) + '/../../../spec_helper' + +require 'puppet/indirector/catalog/rest' + +describe Puppet::Resource::Catalog::Rest do + it "should be a sublcass of Puppet::Indirector::REST" do + Puppet::Resource::Catalog::Rest.superclass.should equal(Puppet::Indirector::REST) + end +end diff --git a/spec/unit/indirector/facts/rest.rb b/spec/unit/indirector/facts/rest.rb new file mode 100755 index 000000000..db46db02c --- /dev/null +++ b/spec/unit/indirector/facts/rest.rb @@ -0,0 +1,11 @@ +#!/usr/bin/env ruby + +require File.dirname(__FILE__) + '/../../../spec_helper' + +require 'puppet/indirector/facts/rest' + +describe Puppet::Node::Facts::Rest do + it "should be a sublcass of Puppet::Indirector::REST" do + Puppet::Node::Facts::Rest.superclass.should equal(Puppet::Indirector::REST) + end +end |
