diff options
| author | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2006-12-15 00:11:00 +0000 |
|---|---|---|
| committer | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2006-12-15 00:11:00 +0000 |
| commit | 0cd579997a8ea619968c58a39493d28b9af87e6d (patch) | |
| tree | 7dae1fec31ee2545b98fd10c0a581c641270c950 /test/lib | |
| parent | 6d9ae0cf32f43cbcffa2ac8fb355c65d8ceeb9a0 (diff) | |
| download | puppet-0cd579997a8ea619968c58a39493d28b9af87e6d.tar.gz puppet-0cd579997a8ea619968c58a39493d28b9af87e6d.tar.xz puppet-0cd579997a8ea619968c58a39493d28b9af87e6d.zip | |
Some rails modifications
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1931 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'test/lib')
| -rw-r--r-- | test/lib/puppettest/railstesting.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/lib/puppettest/railstesting.rb b/test/lib/puppettest/railstesting.rb index 3b65f5b34..baac6e03a 100644 --- a/test/lib/puppettest/railstesting.rb +++ b/test/lib/puppettest/railstesting.rb @@ -8,7 +8,9 @@ module PuppetTest::RailsTesting end def railsteardown - Puppet::Rails.teardown + if Puppet[:dbadapter] != "sqlite3" + Puppet::Rails.teardown + end end def railsresource(type = "file", title = "/tmp/testing", params = {}) |
