X-Git-Url: https://review.fuel-infra.org/gitweb?a=blobdiff_plain;f=spec%2Fdefines%2Fkey_spec.rb;h=13616d97acc14f73c8d6dd84c5fb6b2402fb39a6;hb=a06803d0417addcb4f5adbd59abc8bc7d427d181;hp=1f878c3e8c65fafc5f78200e1c93da282bed0e2d;hpb=aba776640b70ab8123d1d614dcc2892d5c42a408;p=puppet-modules%2Fpuppetlabs-apt.git diff --git a/spec/defines/key_spec.rb b/spec/defines/key_spec.rb index 1f878c3..13616d9 100644 --- a/spec/defines/key_spec.rb +++ b/spec/defines/key_spec.rb @@ -251,7 +251,7 @@ describe 'apt::key' 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 @@ -269,7 +269,7 @@ describe 'apt::key' 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