Sha256: 61d3b4c6cf6738807ee619b78f876138bce47aae0f451efdc32d5c685c6452c7

Contents?: true

Size: 754 Bytes

Versions: 278

Compression:

Stored size: 754 Bytes

Contents

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

require 'puppet/resource/catalog'
require 'puppet/indirector/catalog/yaml'

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

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

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

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

Version data entries

278 entries across 278 versions & 1 rubygems

Version Path
puppet-6.4.0 spec/unit/indirector/catalog/yaml_spec.rb
puppet-6.4.0-x86-mingw32 spec/unit/indirector/catalog/yaml_spec.rb
puppet-6.4.0-x64-mingw32 spec/unit/indirector/catalog/yaml_spec.rb
puppet-6.4.0-universal-darwin spec/unit/indirector/catalog/yaml_spec.rb
puppet-6.0.7 spec/unit/indirector/catalog/yaml_spec.rb
puppet-6.0.7-x86-mingw32 spec/unit/indirector/catalog/yaml_spec.rb
puppet-6.0.7-x64-mingw32 spec/unit/indirector/catalog/yaml_spec.rb
puppet-6.0.7-universal-darwin spec/unit/indirector/catalog/yaml_spec.rb
puppet-5.5.12 spec/unit/indirector/catalog/yaml_spec.rb
puppet-5.5.12-x86-mingw32 spec/unit/indirector/catalog/yaml_spec.rb
puppet-5.5.12-x64-mingw32 spec/unit/indirector/catalog/yaml_spec.rb
puppet-5.5.12-universal-darwin spec/unit/indirector/catalog/yaml_spec.rb
puppet-6.3.0 spec/unit/indirector/catalog/yaml_spec.rb
puppet-6.3.0-x86-mingw32 spec/unit/indirector/catalog/yaml_spec.rb
puppet-6.3.0-x64-mingw32 spec/unit/indirector/catalog/yaml_spec.rb
puppet-6.3.0-universal-darwin spec/unit/indirector/catalog/yaml_spec.rb
puppet-6.2.0 spec/unit/indirector/catalog/yaml_spec.rb
puppet-6.2.0-x86-mingw32 spec/unit/indirector/catalog/yaml_spec.rb
puppet-6.2.0-x64-mingw32 spec/unit/indirector/catalog/yaml_spec.rb
puppet-6.2.0-universal-darwin spec/unit/indirector/catalog/yaml_spec.rb