X-Git-Url: https://review.fuel-infra.org/gitweb?a=blobdiff_plain;f=spec%2Fdefines%2Fppa_spec.rb;h=7046475736e9b4d58f3e7e8961a3a265a5b7fbff;hb=80d83d9a88267737a8dbefb751322ce7bcc2b072;hp=521b42ba2b47897fc99b9c8b59f5769b73dfac59;hpb=02e1e05acec6ad467bf5b36ba6b4d581b69f19b2;p=puppet-modules%2Fpuppetlabs-apt.git diff --git a/spec/defines/ppa_spec.rb b/spec/defines/ppa_spec.rb index 521b42b..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,7 +297,7 @@ describe 'apt::ppa' do let(:title) { 'ppa:foo' } it do expect { - is_expected.to compile + subject.call }.to raise_error(Puppet::Error, /not currently supported on Debian/) end end