Sha256: f2341c7ca2f6eacb773f68189be3ba3bdfa0a80e4e2871e25419363ff7991f59

Contents?: true

Size: 533 Bytes

Versions: 19

Compression:

Stored size: 533 Bytes

Contents

#!/usr/bin/env ruby

require File.dirname(__FILE__) + '/../../../spec_helper'

require 'puppet/indirector/resource_type/rest'

describe Puppet::Indirector::ResourceType::Rest do
  it "should be registered with the resource_type indirection" do
    Puppet::Indirector::Terminus.terminus_class(:resource_type, :rest).should equal(Puppet::Indirector::ResourceType::Rest)
  end

  it "should be a subclass of Puppet::Indirector::Rest" do
    Puppet::Indirector::ResourceType::Rest.superclass.should == Puppet::Indirector::REST
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
puppet-2.6.18 spec/unit/indirector/resource_type/rest_spec.rb
puppet-2.6.17 spec/unit/indirector/resource_type/rest_spec.rb
puppet-2.6.16 spec/unit/indirector/resource_type/rest_spec.rb
puppet-2.6.15 spec/unit/indirector/resource_type/rest_spec.rb
puppet-2.6.14 spec/unit/indirector/resource_type/rest_spec.rb
puppet-2.6.13 spec/unit/indirector/resource_type/rest_spec.rb
puppet-2.6.12 spec/unit/indirector/resource_type/rest_spec.rb
puppet-2.6.11 spec/unit/indirector/resource_type/rest_spec.rb
puppet-2.6.10 spec/unit/indirector/resource_type/rest_spec.rb
puppet-2.6.9 spec/unit/indirector/resource_type/rest_spec.rb
puppet-2.6.8 spec/unit/indirector/resource_type/rest_spec.rb
puppet-2.6.7 spec/unit/indirector/resource_type/rest_spec.rb
puppet-2.6.6 spec/unit/indirector/resource_type/rest_spec.rb
puppet-2.6.5 spec/unit/indirector/resource_type/rest_spec.rb
puppet-2.6.4 spec/unit/indirector/resource_type/rest_spec.rb
puppet-2.6.3 spec/unit/indirector/resource_type/rest_spec.rb
puppet-2.6.2 spec/unit/indirector/resource_type/rest_spec.rb
puppet-2.6.1 spec/unit/indirector/resource_type/rest_spec.rb
puppet-2.6.0 spec/unit/indirector/resource_type/rest_spec.rb