Sha256: 7fb1ee1e28b4ca59ed52b8919c5d730f11d3e3350afc66bd5f828a5880ae7d94
Contents?: true
Size: 609 Bytes
Versions: 28
Compression:
Stored size: 609 Bytes
Contents
# frozen_string_literal: true require 'spec_helper' require 'stringio' describe 'environment' do let(:output) do StringIO.new end let(:debugger) do PuppetDebugger::Cli.new(out_buffer: output) end it 'environment returns object with properties' do expect(debugger.puppet_environment).to_not eq nil expect(debugger.default_site_manifest).to eq(File.join(Puppet[:environmentpath], Puppet[:environment], 'manifests', 'site.pp')) end it 'full module path' do expect(debugger.modules_paths.count).to be >= 2 end end
Version data entries
28 entries across 28 versions & 1 rubygems