Sha256: 67c825bc3eda7539375f8bc15f4802f57a1ce877813e01f08035d837d2d73ea3

Contents?: true

Size: 731 Bytes

Versions: 9

Compression:

Stored size: 731 Bytes

Contents

#!/usr/bin/env ruby

require File.dirname(__FILE__) + '/../../../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

9 entries across 9 versions & 1 rubygems

Version Path
puppet-0.25.5 spec/unit/indirector/node/yaml.rb
puppet-0.25.4 spec/unit/indirector/node/yaml.rb
puppet-0.25.3 spec/unit/indirector/node/yaml.rb
puppet-0.24.9 spec/unit/indirector/node/yaml.rb
puppet-0.25.2 spec/unit/indirector/node/yaml.rb
puppet-0.25.1 spec/unit/indirector/node/yaml.rb
puppet-0.25.0 spec/unit/indirector/node/yaml.rb
puppet-0.24.7 spec/unit/indirector/node/yaml.rb
puppet-0.24.8 spec/unit/indirector/node/yaml.rb