File: config_spec.rb

package info (click to toggle)
puppet 5.5.10-4
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 21,116 kB
  • sloc: ruby: 250,669; sh: 1,620; xml: 218; makefile: 151; sql: 103
file content (13 lines) | stat: -rw-r--r-- 434 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
#! /usr/bin/env ruby
require 'spec_helper'
require 'puppet/application/config'

describe Puppet::Application::Config do
  it "should be a subclass of Puppet::Application::FaceBase" do
    expect(Puppet::Application::Config.superclass).to equal(Puppet::Application::FaceBase)
  end

  it "should set `environment_mode` to :not_required" do
    expect(Puppet::Application::Config.get_environment_mode).to equal(:not_required)
  end
end