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
apt_key now really works with userinfo for http(s)
[puppet-modules/puppetlabs-apt.git]
/
spec
/
unit
/
puppet
/
type
/
apt_key_spec.rb
diff --git
a/spec/unit/puppet/type/apt_key_spec.rb
b/spec/unit/puppet/type/apt_key_spec.rb
index e412b5066478284b291b016871f9ba17e7e2d13c..b17c8aed0ddb8056e704eacd557780f7eb671a95 100644
(file)
--- a/
spec/unit/puppet/type/apt_key_spec.rb
+++ b/
spec/unit/puppet/type/apt_key_spec.rb
@@
-136,6
+136,13
@@
describe Puppet::Type::type(:apt_key) do
)}.to_not raise_error
end
)}.to_not raise_error
end
+ it 'allows the http URI with username and password' do
+ expect { Puppet::Type.type(:apt_key).new(
+ :id => '4BD6EC30',
+ :source => 'http://testme:Password2@pgp.mit.edu'
+ )}.to_not raise_error
+ end
+
it 'allows the https URI scheme in source' do
expect { Puppet::Type.type(:apt_key).new(
:id => '4BD6EC30',
it 'allows the https URI scheme in source' do
expect { Puppet::Type.type(:apt_key).new(
:id => '4BD6EC30',