Sha256: 98dbdd1b60f407b1455a9209c1ea345946f69ec43c0930ae8881319a61b6f774

Contents?: true

Size: 670 Bytes

Versions: 33

Compression:

Stored size: 670 Bytes

Contents

require 'spec_helper'
require 'puppet/indirector/data_binding/hiera'

describe Puppet::DataBinding::Hiera do
  it "should be a subclass of the Hiera terminus" do
    Puppet::DataBinding::Hiera.superclass.should equal(Puppet::Indirector::Hiera)
  end

  it "should have documentation" do
    Puppet::DataBinding::Hiera.doc.should_not be_nil
  end

  it "should be registered with the data_binding indirection" do
    indirection = Puppet::Indirector::Indirection.instance(:data_binding)
    Puppet::DataBinding::Hiera.indirection.should equal(indirection)
  end

  it "should have its name set to :hiera" do
    Puppet::DataBinding::Hiera.name.should == :hiera
  end
end

Version data entries

33 entries across 33 versions & 2 rubygems

Version Path
puppet-3.1.0.rc2 spec/unit/indirector/data_binding/hiera_spec.rb
puppet-3.1.0.rc1 spec/unit/indirector/data_binding/hiera_spec.rb
puppet-3.0.2 spec/unit/indirector/data_binding/hiera_spec.rb
puppet-3.0.2.rc3 spec/unit/indirector/data_binding/hiera_spec.rb
puppet-3.0.2.rc2 spec/unit/indirector/data_binding/hiera_spec.rb
puppet-3.0.2.rc1 spec/unit/indirector/data_binding/hiera_spec.rb
puppet-3.0.1 spec/unit/indirector/data_binding/hiera_spec.rb
puppet-3.0.1.rc1 spec/unit/indirector/data_binding/hiera_spec.rb
puppet-3.0.0 spec/unit/indirector/data_binding/hiera_spec.rb
puppet-3.0.0.rc8 spec/unit/indirector/data_binding/hiera_spec.rb
puppet-3.0.0.rc7 spec/unit/indirector/data_binding/hiera_spec.rb
puppet-3.0.0.rc5 spec/unit/indirector/data_binding/hiera_spec.rb
puppet-3.0.0.rc4 spec/unit/indirector/data_binding/hiera_spec.rb