Sha256: e92d48b8894fb58c0fe117a4722675366329667b333e0d5d64a6b448514731e0

Contents?: true

Size: 660 Bytes

Versions: 92

Compression:

Stored size: 660 Bytes

Contents

#! /usr/bin/env ruby
require 'spec_helper'

require 'puppet/node'
require 'puppet/indirector/node/yaml'

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

  it "should have documentation" do
    Puppet::Node::Yaml.doc.should_not be_nil
  end

  it "should be registered with the configuration store indirection" do
    indirection = Puppet::Indirector::Indirection.instance(:node)
    Puppet::Node::Yaml.indirection.should equal(indirection)
  end

  it "should have its name set to :node" do
    Puppet::Node::Yaml.name.should == :yaml
  end
end

Version data entries

92 entries across 92 versions & 2 rubygems

Version Path
puppet-3.4.0 spec/unit/indirector/node/yaml_spec.rb
puppet-3.4.0.rc2 spec/unit/indirector/node/yaml_spec.rb
puppet-3.4.0.rc1 spec/unit/indirector/node/yaml_spec.rb
puppet-3.3.2 spec/unit/indirector/node/yaml_spec.rb
puppet-3.3.1 spec/unit/indirector/node/yaml_spec.rb
puppet-3.3.1.rc3 spec/unit/indirector/node/yaml_spec.rb
puppet-3.3.1.rc2 spec/unit/indirector/node/yaml_spec.rb
puppet-3.3.1.rc1 spec/unit/indirector/node/yaml_spec.rb
puppet-3.3.0 spec/unit/indirector/node/yaml_spec.rb
puppet-3.3.0.rc3 spec/unit/indirector/node/yaml_spec.rb
puppet-3.3.0.rc2 spec/unit/indirector/node/yaml_spec.rb
puppet-3.2.4 spec/unit/indirector/node/yaml_spec.rb
puppet-3.2.3 spec/unit/indirector/node/yaml_spec.rb
puppet-3.2.3.rc1 spec/unit/indirector/node/yaml_spec.rb
puppet-3.2.2 spec/unit/indirector/node/yaml_spec.rb
puppet-3.2.1 spec/unit/indirector/node/yaml_spec.rb
puppet-3.2.1.rc1 spec/unit/indirector/node/yaml_spec.rb
puppet-3.2.0.rc2 spec/unit/indirector/node/yaml_spec.rb
librarian-puppet-0.9.9 vendor/gems/ruby/1.9.1/gems/puppet-3.1.0/spec/unit/indirector/node/yaml_spec.rb
puppet-3.2.0.rc1 spec/unit/indirector/node/yaml_spec.rb