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.8.7 spec/unit/indirector/node/yaml_spec.rb
puppet-3.8.7-x86-mingw32 spec/unit/indirector/node/yaml_spec.rb
puppet-3.8.7-x64-mingw32 spec/unit/indirector/node/yaml_spec.rb
puppet-3.8.6 spec/unit/indirector/node/yaml_spec.rb
puppet-3.8.6-x86-mingw32 spec/unit/indirector/node/yaml_spec.rb
puppet-3.8.6-x64-mingw32 spec/unit/indirector/node/yaml_spec.rb
puppet-3.8.5 spec/unit/indirector/node/yaml_spec.rb
puppet-3.8.5-x86-mingw32 spec/unit/indirector/node/yaml_spec.rb
puppet-3.8.5-x64-mingw32 spec/unit/indirector/node/yaml_spec.rb
puppet-3.8.4 spec/unit/indirector/node/yaml_spec.rb
puppet-3.8.4-x86-mingw32 spec/unit/indirector/node/yaml_spec.rb
puppet-3.8.4-x64-mingw32 spec/unit/indirector/node/yaml_spec.rb
puppet-3.8.3 spec/unit/indirector/node/yaml_spec.rb
puppet-3.8.3-x86-mingw32 spec/unit/indirector/node/yaml_spec.rb
puppet-3.8.3-x64-mingw32 spec/unit/indirector/node/yaml_spec.rb
puppet-3.8.2 spec/unit/indirector/node/yaml_spec.rb
puppet-3.8.2-x86-mingw32 spec/unit/indirector/node/yaml_spec.rb
puppet-3.8.2-x64-mingw32 spec/unit/indirector/node/yaml_spec.rb
puppet-3.8.1 spec/unit/indirector/node/yaml_spec.rb
puppet-3.8.1-x86-mingw32 spec/unit/indirector/node/yaml_spec.rb