X-Git-Url: https://review.fuel-infra.org/gitweb?a=blobdiff_plain;f=spec%2Fdefines%2Fconf_spec.rb;h=d79cb22921571ef2af8011a9b3f37dc2009e91f5;hb=438a48a21f416c4a5202160e7d2d4775c6e6739b;hp=1296e999f89c283ce602a3b5bde5f51a99772cd9;hpb=6027e050b2e0e8c07efb3b7aa2329a4130d4a6fc;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