Skip to content
This repository has been archived by the owner on Feb 4, 2020. It is now read-only.

Commit

Permalink
update spec for new puppetlabs/apt module
Browse files Browse the repository at this point in the history
  • Loading branch information
bleuchtang committed May 28, 2015
1 parent ca48561 commit 2fcc613
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions spec/classes/uchiwa_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -48,17 +48,16 @@
}

context 'with puppet-apt installed' do
let(:pre_condition) { [ 'define apt::source ($ensure, $location, $release, $repos, $include_src, $key, $key_source) {}' ] }
let(:pre_condition) { [ 'define apt::source ($ensure, $location, $release, $repos, $include, $key) {}' ] }

context 'default' do
it { should contain_apt__source('sensu').with(
:ensure => 'present',
:location => 'http://repos.sensuapp.org/apt',
:release => 'sensu',
:repos => 'main',
:include_src => false,
:key => '7580C77F',
:key_source => 'http://repos.sensuapp.org/apt/pubkey.gpg',
:include => { 'src' => false, 'deb' => true },
:key => { 'id' => '8911D8FF37778F24B4E726A218609E3D7580C77F', 'source' => 'http://repos.sensuapp.org/apt/pubkey.gpg' },
:before => 'Package[uchiwa]'
) }
end
Expand Down Expand Up @@ -144,4 +143,4 @@

end

end
end

0 comments on commit 2fcc613

Please sign in to comment.