summaryrefslogtreecommitdiffstats
path: root/test/unit/mail_handler_test.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2015-10-17 09:17:33 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2015-10-17 09:17:33 +0000
commitb837e3627b6f8c29363fc4fcf594bc4025bbee28 (patch)
tree35856255cdb0fbc7ffaa1634e0c1ab6c1f663f61 /test/unit/mail_handler_test.rb
parentbf14be9f2ccaf98b087830aaa91ec3f7c0644fae (diff)
downloadredmine-b837e3627b6f8c29363fc4fcf594bc4025bbee28.tar.gz
redmine-b837e3627b6f8c29363fc4fcf594bc4025bbee28.zip
Removed duplicate test case.
git-svn-id: http://svn.redmine.org/redmine/trunk@14684 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit/mail_handler_test.rb')
-rw-r--r--test/unit/mail_handler_test.rb17
1 files changed, 0 insertions, 17 deletions
diff --git a/test/unit/mail_handler_test.rb b/test/unit/mail_handler_test.rb
index 9534980fd..a93ecfedf 100644
--- a/test/unit/mail_handler_test.rb
+++ b/test/unit/mail_handler_test.rb
@@ -137,23 +137,6 @@ class MailHandlerTest < ActiveSupport::TestCase
assert_equal true, issue.reload.is_private
end
- def test_add_issue_with_attributes_override
- issue = submit_email(
- 'ticket_with_attributes.eml',
- :allow_override => 'tracker,category,priority'
- )
- assert issue.is_a?(Issue)
- assert !issue.new_record?
- issue.reload
- assert_equal 'New ticket on a given project', issue.subject
- assert_equal User.find_by_login('jsmith'), issue.author
- assert_equal Project.find(2), issue.project
- assert_equal 'Feature request', issue.tracker.to_s
- assert_equal 'Stock management', issue.category.to_s
- assert_equal 'Urgent', issue.priority.to_s
- assert issue.description.include?('Lorem ipsum dolor sit amet, consectetuer adipiscing elit.')
- end
-
def test_add_issue_with_group_assignment
with_settings :issue_group_assignment => '1' do
issue = submit_email('ticket_on_given_project.eml', :allow_override => ['assigned_to']) do |email|