Sha256: 462925dccf49b88c7b48b7126da0f64460837f18c02c4ca461da9c0687965a54

Contents?: true

Size: 507 Bytes

Versions: 4

Compression:

Stored size: 507 Bytes

Contents

#! /usr/bin/env ruby -S rspec
require '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

4 entries across 4 versions & 1 rubygems

Version Path
puppet-3.0.0.rc8 spec/unit/indirector/resource_type/rest_spec.rb
puppet-3.0.0.rc7 spec/unit/indirector/resource_type/rest_spec.rb
puppet-3.0.0.rc5 spec/unit/indirector/resource_type/rest_spec.rb
puppet-3.0.0.rc4 spec/unit/indirector/resource_type/rest_spec.rb