diff options
Diffstat (limited to 'spec/unit/indirector')
-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 |