Sha256: 05bc650c07ee400b62008a86206d4297e0f6d2c0d09a8427ee92ac66997df9f5

Contents?: true

Size: 656 Bytes

Versions: 340

Compression:

Stored size: 656 Bytes

Contents

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
    expect(Puppet::Node::Yaml.superclass).to equal(Puppet::Indirector::Yaml)
  end

  it "should have documentation" do
    expect(Puppet::Node::Yaml.doc).not_to be_nil
  end

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

  it "should have its name set to :node" do
    expect(Puppet::Node::Yaml.name).to eq(:yaml)
  end
end

Version data entries

340 entries across 340 versions & 1 rubygems

Version Path
puppet-8.3.0 spec/unit/indirector/node/yaml_spec.rb
puppet-8.3.0-x86-mingw32 spec/unit/indirector/node/yaml_spec.rb
puppet-8.3.0-x64-mingw32 spec/unit/indirector/node/yaml_spec.rb
puppet-8.3.0-universal-darwin spec/unit/indirector/node/yaml_spec.rb
puppet-8.4.0 spec/unit/indirector/node/yaml_spec.rb
puppet-8.4.0-x86-mingw32 spec/unit/indirector/node/yaml_spec.rb
puppet-8.4.0-x64-mingw32 spec/unit/indirector/node/yaml_spec.rb
puppet-8.4.0-universal-darwin spec/unit/indirector/node/yaml_spec.rb
puppet-7.28.0 spec/unit/indirector/node/yaml_spec.rb
puppet-7.28.0-x86-mingw32 spec/unit/indirector/node/yaml_spec.rb
puppet-7.28.0-x64-mingw32 spec/unit/indirector/node/yaml_spec.rb
puppet-7.28.0-universal-darwin spec/unit/indirector/node/yaml_spec.rb
puppet-8.3.1 spec/unit/indirector/node/yaml_spec.rb
puppet-8.3.1-x86-mingw32 spec/unit/indirector/node/yaml_spec.rb
puppet-8.3.1-x64-mingw32 spec/unit/indirector/node/yaml_spec.rb
puppet-8.3.1-universal-darwin spec/unit/indirector/node/yaml_spec.rb
puppet-7.27.0 spec/unit/indirector/node/yaml_spec.rb
puppet-7.27.0-x86-mingw32 spec/unit/indirector/node/yaml_spec.rb
puppet-7.27.0-x64-mingw32 spec/unit/indirector/node/yaml_spec.rb
puppet-7.27.0-universal-darwin spec/unit/indirector/node/yaml_spec.rb