Sha256: 016a495f47535bb4ec142591e72c25ba3ca712a26ddbbaa3faccd76fa9cbd5eb

Contents?: true

Size: 723 Bytes

Versions: 57

Compression:

Stored size: 723 Bytes

Contents

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

require 'puppet/node'
require 'puppet/indirector/node/msgpack'

describe Puppet::Node::Msgpack, :if => Puppet.features.msgpack? do
  it "should be a subclass of the Msgpack terminus" do
    Puppet::Node::Msgpack.superclass.should equal(Puppet::Indirector::Msgpack)
  end

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

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

  it "should have its name set to :msgpack" do
    Puppet::Node::Msgpack.name.should == :msgpack
  end
end

Version data entries

57 entries across 57 versions & 1 rubygems

Version Path
puppet-3.8.7 spec/unit/indirector/node/msgpack_spec.rb
puppet-3.8.7-x86-mingw32 spec/unit/indirector/node/msgpack_spec.rb
puppet-3.8.7-x64-mingw32 spec/unit/indirector/node/msgpack_spec.rb
puppet-3.8.6 spec/unit/indirector/node/msgpack_spec.rb
puppet-3.8.6-x86-mingw32 spec/unit/indirector/node/msgpack_spec.rb
puppet-3.8.6-x64-mingw32 spec/unit/indirector/node/msgpack_spec.rb
puppet-3.8.5 spec/unit/indirector/node/msgpack_spec.rb
puppet-3.8.5-x86-mingw32 spec/unit/indirector/node/msgpack_spec.rb
puppet-3.8.5-x64-mingw32 spec/unit/indirector/node/msgpack_spec.rb
puppet-3.8.4 spec/unit/indirector/node/msgpack_spec.rb
puppet-3.8.4-x86-mingw32 spec/unit/indirector/node/msgpack_spec.rb
puppet-3.8.4-x64-mingw32 spec/unit/indirector/node/msgpack_spec.rb
puppet-3.8.3 spec/unit/indirector/node/msgpack_spec.rb
puppet-3.8.3-x86-mingw32 spec/unit/indirector/node/msgpack_spec.rb
puppet-3.8.3-x64-mingw32 spec/unit/indirector/node/msgpack_spec.rb
puppet-3.8.2 spec/unit/indirector/node/msgpack_spec.rb
puppet-3.8.2-x86-mingw32 spec/unit/indirector/node/msgpack_spec.rb
puppet-3.8.2-x64-mingw32 spec/unit/indirector/node/msgpack_spec.rb
puppet-3.8.1 spec/unit/indirector/node/msgpack_spec.rb
puppet-3.8.1-x86-mingw32 spec/unit/indirector/node/msgpack_spec.rb