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 #861 from puppetlabs/pdksync_pdksync-docsupdate
[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 aee585588c1d2e08cddd4c433db61e43db41a066..47b03d4fe50533ea25fe4c9acfb59f98520c0def 100644
(file)
--- a/
spec/defines/key_compat_spec.rb
+++ b/
spec/defines/key_compat_spec.rb
@@
-26,7
+26,6
@@
describe 'apt::key', type: :define do
os: { family: 'Debian', name: 'Debian', release: { major: '8', full: '8.0' } },
lsbdistid: 'Debian',
osfamily: 'Debian',
os: { family: 'Debian', name: 'Debian', release: { major: '8', full: '8.0' } },
lsbdistid: 'Debian',
osfamily: 'Debian',
- puppetversion: Puppet.version,
}
end
}
end
@@
-271,7
+270,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
+318,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