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 #799 from eimlav/string-fix
[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 43ccbbc87f0f668dcec583bb8eb839fd0af54a29..7a6804c98abee766ca7838a38778af8155f518b7 100644
(file)
--- a/
spec/defines/key_compat_spec.rb
+++ b/
spec/defines/key_compat_spec.rb
@@
-23,7
+23,7
@@
describe 'apt::key', type: :define do
let(:facts) do
{
let(:facts) do
{
- os: { family: 'Debian', name: 'Debian', release: { major: '
7', full: '7
.0' } },
+ os: { family: 'Debian', name: 'Debian', release: { major: '
8', full: '8
.0' } },
lsbdistid: 'Debian',
osfamily: 'Debian',
puppetversion: Puppet.version,
lsbdistid: 'Debian',
osfamily: 'Debian',
puppetversion: Puppet.version,
@@
-271,7
+271,7
@@
describe 'apt::key', type: :define do
end
it 'fails' do
end
it 'fails' do
- is_expected.to raise_error(%r{e
xpects a match
})
+ is_expected.to raise_error(%r{e
valuating a Resource
})
end
end
end
end
@@
-319,7
+319,7
@@
describe 'apt::key', type: :define do
end
it 'fails' do
end
it 'fails' do
- is_expected.to raise_error(%r{Enum\['absent', 'present'\]})
+ is_expected.to raise_error(%r{Enum\['absent', 'present'
, 'refreshed'
\]})
end
end
end
end