Permalink
Browse files

Have a separate test connection directory for sqlite3 in-memory so th…

…at the tests can be run without having to specifically rename the connection file (which then causes git to pick up the changes)
  • Loading branch information...
1 parent 80df74b commit c47c54140246f4e5b49376ae9c408c85968ed6c3 @jonleighton jonleighton committed with tenderlove Jan 8, 2011
View
@@ -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]+/]

0 comments on commit c47c541

Please sign in to comment.