Sha256: 6e91611c560eb6fc5b5bf521f67a6a4e090e2d3a6c2ceea1c8c4c3740e60906e

Contents?: true

Size: 784 Bytes

Versions: 3

Compression:

Stored size: 784 Bytes

Contents

#!/usr/bin/env ruby

require File.dirname(__FILE__) + '/../../../spec_helper'

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

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

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

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

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
puppet-0.24.9 spec/unit/indirector/catalog/yaml.rb
puppet-0.24.7 spec/unit/indirector/catalog/yaml.rb
puppet-0.24.8 spec/unit/indirector/catalog/yaml.rb