X-Git-Url: https://review.fuel-infra.org/gitweb?a=blobdiff_plain;f=spec%2Fdefines%2Fconf_spec.rb;h=d79cb22921571ef2af8011a9b3f37dc2009e91f5;hb=cd413ee3930368785afc5af3c19347e74f7d99ac;hp=1296e999f89c283ce602a3b5bde5f51a99772cd9;hpb=f610bedc5f33db5fdee2ad49eeda95268ab0b9a5;p=puppet-modules%2Fpuppetlabs-apt.git diff --git a/spec/defines/conf_spec.rb b/spec/defines/conf_spec.rb index 1296e99..d79cb22 100644 --- a/spec/defines/conf_spec.rb +++ b/spec/defines/conf_spec.rb @@ -64,7 +64,7 @@ describe 'apt::conf', type: :define do end it 'fails' do - expect { subject.call } .to raise_error(%r{pass in content}) + is_expected.to raise_error(%r{pass in content}) end end