mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Add description for db:create and db:drop test tasks in AR
This will help identify these tasks exists, since they are easier to setup things for running all AR tests.
This commit is contained in:
parent
fbcd46b1a0
commit
ea76386493
1 changed files with 4 additions and 2 deletions
|
@ -39,8 +39,10 @@ namespace :test do
|
|||
end
|
||||
|
||||
namespace :db do
|
||||
task :create => ['mysql:build_databases', 'postgresql:build_databases']
|
||||
task :drop => ['mysql:drop_databases', 'postgresql:drop_databases']
|
||||
desc 'Build MySQL and PostgreSQL test databases'
|
||||
task create: ['mysql:build_databases', 'postgresql:build_databases']
|
||||
desc 'Drop MySQL and PostgreSQL test databases'
|
||||
task drop: ['mysql:drop_databases', 'postgresql:drop_databases']
|
||||
end
|
||||
|
||||
%w( mysql mysql2 postgresql sqlite3 sqlite3_mem firebird db2 oracle sybase openbase frontbase jdbcmysql jdbcpostgresql jdbcsqlite3 jdbcderby jdbch2 jdbchsqldb ).each do |adapter|
|
||||
|
|
Loading…
Reference in a new issue