Skip to content

Commit

Permalink
Have a separate test connection directory for sqlite3 in-memory so th…
Browse files Browse the repository at this point in the history
…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
jonleighton authored and tenderlove committed Jan 11, 2011
1 parent 80df74b commit c47c541
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion activerecord/Rakefile
Expand Up @@ -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]+/]
Expand Down

0 comments on commit c47c541

Please sign in to comment.