summaryrefslogtreecommitdiffstats
path: root/test/unit/mail_handler_test.rb
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-08-31 22:59:18 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-08-31 22:59:18 +0000
commit350d871028704948343e4499a80dd939d7ee4472 (patch)
tree555aee69ffc61a0dde4b04c59489765dbe926d5a /test/unit/mail_handler_test.rb
parent1b4ae22b02554e8203778ea3e9da87eb1a2fb07d (diff)
downloadredmine-350d871028704948343e4499a80dd939d7ee4472.tar.gz
redmine-350d871028704948343e4499a80dd939d7ee4472.zip
remove trailing white-spaces from test/unit/mail_handler_test.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6927 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit/mail_handler_test.rb')
-rw-r--r--test/unit/mail_handler_test.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/unit/mail_handler_test.rb b/test/unit/mail_handler_test.rb
index ec00629fd..da4aa422c 100644
--- a/test/unit/mail_handler_test.rb
+++ b/test/unit/mail_handler_test.rb
@@ -109,7 +109,7 @@ class MailHandlerTest < ActiveSupport::TestCase
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') do |email|
@@ -290,12 +290,12 @@ class MailHandlerTest < ActiveSupport::TestCase
assert_kind_of Issue, issue
assert_equal tracker, issue.tracker
end
-
+
def test_add_issue_from_apple_mail
issue = submit_email('apple_mail_with_attachment.eml', :issue => {:project => 'ecookbook'})
assert_kind_of Issue, issue
assert_equal 1, issue.attachments.size
-
+
attachment = issue.attachments.first
assert_equal 'paella.jpg', attachment.filename
assert_equal 10790, attachment.filesize
@@ -344,7 +344,7 @@ class MailHandlerTest < ActiveSupport::TestCase
assert !journal.notes.match(/^Status:/i)
assert !journal.notes.match(/^Start Date:/i)
end
-
+
def test_update_issue_with_attachment
assert_difference 'Journal.count' do
assert_difference 'JournalDetail.count' do
@@ -360,7 +360,7 @@ class MailHandlerTest < ActiveSupport::TestCase
journal = Journal.first(:order => 'id DESC')
assert_equal Issue.find(2), journal.journalized
assert_equal 1, journal.details.size
-
+
detail = journal.details.first
assert_equal 'attachment', detail.property
assert_equal 'Paella.jpg', detail.value