File: data_binding_spec.rb

package info (click to toggle)
puppet-agent 8.10.0-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 27,392 kB
  • sloc: ruby: 286,820; sh: 492; xml: 116; makefile: 88; cs: 68
file content (11 lines) | stat: -rw-r--r-- 334 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
require 'spec_helper'
require 'puppet/data_binding'

describe Puppet::DataBinding do
  describe "when indirecting" do
    it "should default to the 'hiera' data_binding terminus" do
      Puppet::DataBinding.indirection.reset_terminus_class
      expect(Puppet::DataBinding.indirection.terminus_class).to eq(:hiera)
    end
  end
end