X-Git-Url: https://review.fuel-infra.org/gitweb?a=blobdiff_plain;f=spec%2Fdefines%2Fkey_compat_spec.rb;h=66e9f7fe90713b179dae0cac9b15ea54cc797c5d;hb=a06803d0417addcb4f5adbd59abc8bc7d427d181;hp=f6013d35ba5931ccb1f292b1185a51ff04f80990;hpb=aba776640b70ab8123d1d614dcc2892d5c42a408;p=puppet-modules%2Fpuppetlabs-apt.git diff --git a/spec/defines/key_compat_spec.rb b/spec/defines/key_compat_spec.rb index f6013d3..66e9f7f 100644 --- a/spec/defines/key_compat_spec.rb +++ b/spec/defines/key_compat_spec.rb @@ -246,7 +246,7 @@ describe 'apt::key', :type => :define do :content => [], } end it 'fails' do - expect { subject.call }.to raise_error(/expects a String value/) + expect { subject.call }.to raise_error(/expects a value of type Undef or String/) end end @@ -264,7 +264,7 @@ describe 'apt::key', :type => :define do :options => {}, } end it 'fails' do - expect { subject.call }.to raise_error(/expects a String value/) + expect { subject.call }.to raise_error(/expects a value of type Undef or String/) end end