Sha256: 08d42e6752c4073ebe468ffd231d8ff2d610b11ff93006db7a9a1d17daa04f45

Contents?: true

Size: 381 Bytes

Versions: 2

Compression:

Stored size: 381 Bytes

Contents

require 'spec_helper_system'

describe "helper puppet_module_install" do
  it 'should return no errors when including a class' do
    pp = <<-EOS.gsub(/^\s{6}/, '')
      class { 'mymodule':
        param1 => 'bar',
      }
    EOS
    puppet_apply(pp) do |r|
      r.stdout.should =~ /Param1: bar/
      r.stderr.should be_empty
      r.exit_code.should be_zero
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rspec-system-puppet-2.2.1 spec/system/puppet_module_install_spec.rb
rspec-system-puppet-2.2.0 spec/system/puppet_module_install_spec.rb