Use prefered syntax for redmine📧test definition (#8611).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7540 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Etienne Massip 2011-09-26 18:14:19 +00:00
parent 98e18b2141
commit da60f58abe
1 changed files with 1 additions and 1 deletions

View File

@ -167,7 +167,7 @@ END_DESC
end
desc "Send a test email to the user with the provided login name"
task :test, :login, :needs => :environment do |task, args|
task :test, [:login] => :environment do |task, args|
include Redmine::I18n
abort l(:notice_email_error, "Please include the user login to test with. Example: rake redmine:email:test[login]") if args[:login].blank?