Skip to content
Snippets Groups Projects
Commit e9676954 authored by Eric Davis's avatar Eric Davis
Browse files

Fix tpyo in the example

parent b8904ce7
Branches
Tags
No related merge requests found
......@@ -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?
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment