Code Review
/
puppet-modules
/
puppetlabs-apt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge pull request #681 from HelenCampbell/emptystringing
[puppet-modules/puppetlabs-apt.git]
/
spec
/
defines
/
key_compat_spec.rb
diff --git
a/spec/defines/key_compat_spec.rb
b/spec/defines/key_compat_spec.rb
index f6013d35ba5931ccb1f292b1185a51ff04f80990..dab9d16586ff342cbfba2a43ac4d302b7b8e1330 100644
(file)
--- 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
:content => [],
} end
it 'fails' do
- expect { subject.call }.to raise_error(/expects a
String value
/)
+ expect { subject.call }.to raise_error(/expects a/)
end
end
end
end
@@
-264,7
+264,7
@@
describe 'apt::key', :type => :define do
:options => {},
} end
it 'fails' do
:options => {},
} end
it 'fails' do
- expect { subject.call }.to raise_error(/expects a
String value
/)
+ expect { subject.call }.to raise_error(/expects a/)
end
end
end
end