Sha256: 39dade5d3fc656fd06b88ae9beda6680825d5bdab33fcc28ae34ea21169f13b2

Contents?: true

Size: 610 Bytes

Versions: 4

Compression:

Stored size: 610 Bytes

Contents

#! /usr/bin/env ruby -S rspec
require 'spec_helper'

require 'puppet/indirector/catalog/queue'

describe Puppet::Resource::Catalog::Queue do
  it 'should be a subclass of the Queue terminus' do
    Puppet::Resource::Catalog::Queue.superclass.should equal(Puppet::Indirector::Queue)
  end

  it 'should be registered with the catalog store indirection' do
    indirection = Puppet::Indirector::Indirection.instance(:catalog)
    Puppet::Resource::Catalog::Queue.indirection.should equal(indirection)
  end

  it 'shall be dubbed ":queue"' do
    Puppet::Resource::Catalog::Queue.name.should == :queue
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
puppet-3.0.0.rc8 spec/unit/indirector/catalog/queue_spec.rb
puppet-3.0.0.rc7 spec/unit/indirector/catalog/queue_spec.rb
puppet-3.0.0.rc5 spec/unit/indirector/catalog/queue_spec.rb
puppet-3.0.0.rc4 spec/unit/indirector/catalog/queue_spec.rb