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