summaryrefslogtreecommitdiffstats
path: root/test/lib
diff options
context:
space:
mode:
authorluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2006-12-28 08:06:46 +0000
committerluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2006-12-28 08:06:46 +0000
commit652982257d7d4b1fdfada25880d70b29702a4c69 (patch)
tree9c538a33e20f7ca131ece23fde1f1c7824f1a5f3 /test/lib
parent038d6a6e79da9db5a12ca3e78c4539178cc49b44 (diff)
downloadpuppet-652982257d7d4b1fdfada25880d70b29702a4c69.tar.gz
puppet-652982257d7d4b1fdfada25880d70b29702a4c69.tar.xz
puppet-652982257d7d4b1fdfada25880d70b29702a4c69.zip
I have not yet finished testing, but most of the providers now successfully pass arrays to execute() instead of strings, which means that the vast majority of execution problems are now gone. I will finish testing tomorrow, hopefully, and will also hopefully be able to verify that the execution-related bugs are fixed.
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1979 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'test/lib')
-rw-r--r--test/lib/puppettest/railstesting.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/lib/puppettest/railstesting.rb b/test/lib/puppettest/railstesting.rb
index 2014c17ef..8b5f074a2 100644
--- a/test/lib/puppettest/railstesting.rb
+++ b/test/lib/puppettest/railstesting.rb
@@ -8,7 +8,9 @@ module PuppetTest::RailsTesting
# If we don't clean up the connection list, then the rails
# lib will still think it's connected.
- ActiveRecord::Base.clear_active_connections!
+ if Puppet.features.rails?
+ ActiveRecord::Base.clear_active_connections!
+ end
end
def railsinit