X-Git-Url: https://review.fuel-infra.org/gitweb?a=blobdiff_plain;f=spec%2Fdefines%2Fppa_spec.rb;h=7046475736e9b4d58f3e7e8961a3a265a5b7fbff;hb=80d83d9a88267737a8dbefb751322ce7bcc2b072;hp=7903e470377410d2df8320148c066970bb331445;hpb=913a64e1fd9a383cfa39a2bb7487cb2e76d79fa1;p=puppet-modules%2Fpuppetlabs-apt.git diff --git a/spec/defines/ppa_spec.rb b/spec/defines/ppa_spec.rb index 7903e47..7046475 100644 --- a/spec/defines/ppa_spec.rb +++ b/spec/defines/ppa_spec.rb @@ -279,7 +279,7 @@ describe 'apt::ppa' do let(:title) { 'ppa:foo' } it do expect { - is_expected.to compile + subject.call }.to raise_error(Puppet::Error, /lsbdistcodename fact not available: release parameter required/) end end @@ -297,8 +297,8 @@ describe 'apt::ppa' do let(:title) { 'ppa:foo' } it do expect { - is_expected.to compile - }.to raise_error(Puppet::Error, /supported on Ubuntu and LinuxMint only/) + subject.call + }.to raise_error(Puppet::Error, /not currently supported on Debian/) end end end