diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2011-07-09 10:50:42 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2011-07-09 10:50:42 +0000 |
commit | 2072669769d24248789366e6552231c1cac5695d (patch) | |
tree | 260536878a7abf3983fba7f7905e93b6113f99a2 /test | |
parent | 93c2b92a4b5b7003be3113b5d9baf2a0448402a8 (diff) | |
download | redmine-2072669769d24248789366e6552231c1cac5695d.tar.gz redmine-2072669769d24248789366e6552231c1cac5695d.zip |
Fixed: Setting issue attributes from mail should be case-insensitive (#8759).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6199 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test')
-rw-r--r-- | test/fixtures/mail_handler/ticket_with_attributes.eml | 6 | ||||
-rw-r--r-- | test/unit/mail_handler_test.rb | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/test/fixtures/mail_handler/ticket_with_attributes.eml b/test/fixtures/mail_handler/ticket_with_attributes.eml index 118523496..49d55c482 100644 --- a/test/fixtures/mail_handler/ticket_with_attributes.eml +++ b/test/fixtures/mail_handler/ticket_with_attributes.eml @@ -38,6 +38,6 @@ massa. Sed sodales, ante fermentum ultricies sollicitudin, massa leo pulvinar dui, a gravida orci mi eget odio. Nunc a lacus. Project: onlinestore -Tracker: Feature request -category: Stock management -priority: Urgent +Tracker: Feature Request +category: stock management +priority: URGENT diff --git a/test/unit/mail_handler_test.rb b/test/unit/mail_handler_test.rb index cf7f350cd..2ead03935 100644 --- a/test/unit/mail_handler_test.rb +++ b/test/unit/mail_handler_test.rb @@ -63,7 +63,7 @@ class MailHandlerTest < ActiveSupport::TestCase assert_equal '2010-01-01', issue.start_date.to_s assert_equal '2010-12-31', issue.due_date.to_s assert_equal User.find_by_login('jsmith'), issue.assigned_to - assert_equal Version.find_by_name('alpha'), issue.fixed_version + assert_equal Version.find_by_name('Alpha'), issue.fixed_version assert_equal 2.5, issue.estimated_hours assert_equal 30, issue.done_ratio assert_equal [issue.id, 1, 2], [issue.root_id, issue.lft, issue.rgt] |