From e9676954be47d746105b378b3e7ce3f4c204680b Mon Sep 17 00:00:00 2001 From: Eric Davis Date: Fri, 27 May 2011 09:28:45 -0700 Subject: [PATCH] Fix tpyo in the example --- lib/tasks/email.rake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tasks/email.rake b/lib/tasks/email.rake index 6619e1df..a4036f90 100644 --- a/lib/tasks/email.rake +++ b/lib/tasks/email.rake @@ -169,7 +169,7 @@ END_DESC desc "Send a test email to the user with the provided login name" task :test, [:login] => :environment do |task, args| include Redmine::I18n - abort l(:notice_email_error, "Please include the user login to test with. Example: login=examle-login") if args[:login].blank? + abort l(:notice_email_error, "Please include the user login to test with. Example: login=example-login") if args[:login].blank? user = User.find_by_login(args[:login]) abort l(:notice_email_error, "User #{args[:login]} not found") unless user && user.logged?