summaryrefslogtreecommitdiffstats
path: root/test/lib/puppettest.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/lib/puppettest.rb')
-rwxr-xr-xtest/lib/puppettest.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/lib/puppettest.rb b/test/lib/puppettest.rb
index 64cb7aebe..902831e68 100755
--- a/test/lib/puppettest.rb
+++ b/test/lib/puppettest.rb
@@ -17,6 +17,8 @@ Dir["#{mainlib}/../vendor/gems/**"].each do |path|
end
end
+require 'mocha'
+
# Only load the test/unit class if we're not in the spec directory.
# Else we get the bogus 'no tests, no failures' message.
unless Dir.getwd =~ /spec/