diff options
author | Jon Leighton <j@jonathanleighton.com> | 2011-01-08 18:36:30 +0000 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2011-01-11 13:45:06 -0800 |
commit | c47c54140246f4e5b49376ae9c408c85968ed6c3 (patch) | |
tree | 0299c64e185c2980c5dda47dbcc9a59bf1398918 /activerecord/Rakefile | |
parent | 80df74bf515124c9db85d4a670989ae5cc28c3ec (diff) | |
download | rails-c47c54140246f4e5b49376ae9c408c85968ed6c3.tar.gz rails-c47c54140246f4e5b49376ae9c408c85968ed6c3.tar.bz2 rails-c47c54140246f4e5b49376ae9c408c85968ed6c3.zip |
Have a separate test connection directory for sqlite3 in-memory so that the tests can be run without having to specifically rename the connection file (which then causes git to pick up the changes)
Diffstat (limited to 'activerecord/Rakefile')
-rwxr-xr-x | activerecord/Rakefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/Rakefile b/activerecord/Rakefile index f9b77c1799..064734f8e2 100755 --- a/activerecord/Rakefile +++ b/activerecord/Rakefile @@ -41,7 +41,7 @@ namespace :test do end end -%w( mysql mysql2 postgresql sqlite3 firebird db2 oracle sybase openbase frontbase jdbcmysql jdbcpostgresql jdbcsqlite3 jdbcderby jdbch2 jdbchsqldb ).each do |adapter| +%w( mysql mysql2 postgresql sqlite3 sqlite3_mem firebird db2 oracle sybase openbase frontbase jdbcmysql jdbcpostgresql jdbcsqlite3 jdbcderby jdbch2 jdbchsqldb ).each do |adapter| Rake::TestTask.new("test_#{adapter}") { |t| connection_path = "test/connections/#{adapter =~ /jdbc/ ? 'jdbc' : 'native'}_#{adapter}" adapter_short = adapter == 'db2' ? adapter : adapter[/^[a-z0-9]+/] |