aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/Rakefile
diff options
context:
space:
mode:
authorCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2013-11-17 14:25:54 -0200
committerCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2013-11-17 14:25:55 -0200
commitea76386493ff93b07d205fdb3f1aace000c59c0f (patch)
tree06ca445862b7b18bed9179ce87b641988b98fb1d /activerecord/Rakefile
parentfbcd46b1a0d255a34d29caa77bbd31c287446333 (diff)
downloadrails-ea76386493ff93b07d205fdb3f1aace000c59c0f.tar.gz
rails-ea76386493ff93b07d205fdb3f1aace000c59c0f.tar.bz2
rails-ea76386493ff93b07d205fdb3f1aace000c59c0f.zip
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.
Diffstat (limited to 'activerecord/Rakefile')
-rw-r--r--activerecord/Rakefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/activerecord/Rakefile b/activerecord/Rakefile
index cee1dd5aeb..6f8948f987 100644
--- a/activerecord/Rakefile
+++ b/activerecord/Rakefile
@@ -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|