summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Martin <max@puppetlabs.com>2011-05-12 15:43:51 -0700
committerMax Martin <max@puppetlabs.com>2011-05-12 15:43:51 -0700
commit09f5d9cbfcbc6b0428d02fd4b5e9c0cfe550eb19 (patch)
treef4b30a414ffe8bbde2dd438c3942593e84df5d1d
parentc7bd46e2eb1d56c098376b7f500db13e6f98f570 (diff)
downloadpuppet-09f5d9cbfcbc6b0428d02fd4b5e9c0cfe550eb19.tar.gz
puppet-09f5d9cbfcbc6b0428d02fd4b5e9c0cfe550eb19.tar.xz
puppet-09f5d9cbfcbc6b0428d02fd4b5e9c0cfe550eb19.zip
(#7469) Add license to test face so tests pass
The TestIndirection test face defined in indirection_base_spec did not have copyright or license information defined; this was causing order-dependent test failures when unit tests were run before other specs (as in rake spec). This commit adds license and copyright info to the test face to prevent these failures. Paired-with: Daniel Pittman <daniel@puppetlabs.com>
-rwxr-xr-xspec/unit/application/indirection_base_spec.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/unit/application/indirection_base_spec.rb b/spec/unit/application/indirection_base_spec.rb
index 910774c14..d72def6cf 100755
--- a/spec/unit/application/indirection_base_spec.rb
+++ b/spec/unit/application/indirection_base_spec.rb
@@ -10,6 +10,8 @@ end
face = Puppet::Indirector::Face.define(:testindirection, '0.0.1') do
summary "fake summary"
+ copyright "Puppet Labs", 2011
+ license "Apache 2 license; see COPYING"
end
# REVISIT: This horror is required because we don't allow anything to be
# :current except for if it lives on, and is loaded from, disk. --daniel 2011-03-29