summaryrefslogtreecommitdiffstats
path: root/spec/unit/indirector/facts
diff options
context:
space:
mode:
authorMatt Robinson <matt@puppetlabs.com>2010-11-22 14:56:49 -0800
committerNick Lewis <nick@puppetlabs.com>2010-12-16 11:52:36 -0800
commit5db696b605ebb331d5af3e640e68978c4f6d604d (patch)
tree8cb94b655cdf3d232080fcb41509ed7d9047efd1 /spec/unit/indirector/facts
parent167e84d39d5cdd6b628d4d681b918406e7c896e6 (diff)
downloadpuppet-5db696b605ebb331d5af3e640e68978c4f6d604d.tar.gz
puppet-5db696b605ebb331d5af3e640e68978c4f6d604d.tar.xz
puppet-5db696b605ebb331d5af3e640e68978c4f6d604d.zip
maint: Fix tests that don't run on their own
From the spec directory I found all the specs that fail when run on their own. for TEST in `find . -name "*.rb" -type f`; do spec $TEST > /dev/null 2>&1 if [[ $? != 0 ]]; then echo $TEST fi done All of them were cases of missing requires. Paired-with: Nick Lewis <nick@puppetlabs.com>
Diffstat (limited to 'spec/unit/indirector/facts')
-rwxr-xr-xspec/unit/indirector/facts/active_record_spec.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/unit/indirector/facts/active_record_spec.rb b/spec/unit/indirector/facts/active_record_spec.rb
index 0cdb70e01..0bdcfcb77 100755
--- a/spec/unit/indirector/facts/active_record_spec.rb
+++ b/spec/unit/indirector/facts/active_record_spec.rb
@@ -2,6 +2,7 @@
require File.dirname(__FILE__) + '/../../../spec_helper'
+require 'puppet/rails'
require 'puppet/node/facts'
describe "Puppet::Node::Facts::ActiveRecord" do