- os: { family: 'Debian', name: 'Debian', release: { major: '7', full: '7.0' } },
+ os: { family: 'Debian', name: 'Debian', release: { major: '8', full: '8.0' } },
let(:title) { 'such bad && wow!' }
it { is_expected.to contain_apt__setting('pref-such__bad____wow_') }
end
describe 'validation' do
let(:title) { 'such bad && wow!' }
it { is_expected.to contain_apt__setting('pref-such__bad____wow_') }
end
describe 'validation' do
- expect {
- subject.call
- }.to raise_error(Puppet::Error, %r{parameters release, origin, and version are mutually exclusive})
+ is_expected.to raise_error(Puppet::Error, %r{parameters release, origin, and version are mutually exclusive})
- expect {
- subject.call
- }.to raise_error(Puppet::Error, %r{parameters release, origin, and version are mutually exclusive})
+ is_expected.to raise_error(Puppet::Error, %r{parameters release, origin, and version are mutually exclusive})