From b837e3627b6f8c29363fc4fcf594bc4025bbee28 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sat, 17 Oct 2015 09:17:33 +0000 Subject: Removed duplicate test case. git-svn-id: http://svn.redmine.org/redmine/trunk@14684 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/unit/mail_handler_test.rb | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'test/unit/mail_handler_test.rb') 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| -- cgit v1.2.3