summaryrefslogtreecommitdiffstats
path: root/autotest
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2008-11-24 11:16:12 -0600
committerJames Turnbull <james@lovedthanlost.net>2008-11-25 14:11:00 +1100
commita3140b2285d3cb3ccc44efa2110da58771834cde (patch)
treebc755c7b9046fecc5c64d947cc0940a95e0910d5 /autotest
parentbbad9831577a123cc5f6bd7f04836f483c9e8f6f (diff)
downloadpuppet-a3140b2285d3cb3ccc44efa2110da58771834cde.tar.gz
puppet-a3140b2285d3cb3ccc44efa2110da58771834cde.tar.xz
puppet-a3140b2285d3cb3ccc44efa2110da58771834cde.zip
Manually setting an env var to mark autotest enabled so we see color
Signed-off-by: Luke Kanies <luke@madstop.com>
Diffstat (limited to 'autotest')
-rw-r--r--autotest/puppet_rspec.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/autotest/puppet_rspec.rb b/autotest/puppet_rspec.rb
index f50e6f1f5..c19c29406 100644
--- a/autotest/puppet_rspec.rb
+++ b/autotest/puppet_rspec.rb
@@ -45,6 +45,7 @@ end
# a place for overrides when necessary.
class Autotest::PuppetRspec < Autotest::Rspec
def spec_commands
+ ENV["AUTOTEST"] = "true"
ENV["PATH"].split(":").collect { |dir| File.join(dir, "spec") }
end
end