]> review.fuel-infra Code Review - puppet-modules/puppetlabs-apt.git/commit
Fix source specs to test all key permutations
authorMatthaus Litteken <matthaus@puppetlabs.com>
Fri, 24 Feb 2012 06:08:39 +0000 (22:08 -0800)
committerMatthaus Litteken <matthaus@puppetlabs.com>
Fri, 24 Feb 2012 06:14:38 +0000 (22:14 -0800)
commit9059c4e2a8fc5d5d9ef6aa5d470037b827cd6f62
tree9d863ed23371a01db512100448973f591686f734
parent8171d35470588b29055341b8a0132551d1f2a63f
Fix source specs to test all key permutations

Previously only one should in each block was being evaluated. This moves each
should to its own block so that all values are tested. It also adds another set
of params so that all useful permutations of key, key_server, and key_content
are generated. It also replaces the previous ternary assignment for param_set
with a hash merge.
spec/defines/source_spec.rb