]> source.dussan.org Git - redmine.git/commitdiff
code layout clean up of test_create_should_send_email_notification at test/unit/issue...
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Fri, 23 Sep 2011 12:01:19 +0000 (12:01 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Fri, 23 Sep 2011 12:01:19 +0000 (12:01 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7479 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/unit/issue_test.rb

index 338894e3dbcde0ad081b2f7d0fa8ec1b5259fde3..343593a6740526ebe6f09eeb443c0d09c6155407 100644 (file)
@@ -750,7 +750,10 @@ class IssueTest < ActiveSupport::TestCase
 
   def test_create_should_send_email_notification
     ActionMailer::Base.deliveries.clear
-    issue = Issue.new(:project_id => 1, :tracker_id => 1, :author_id => 3, :status_id => 1, :priority => IssuePriority.all.first, :subject => 'test_create', :estimated_hours => '1:30')
+    issue = Issue.new(:project_id => 1, :tracker_id => 1,
+                      :author_id => 3, :status_id => 1,
+                      :priority => IssuePriority.all.first,
+                      :subject => 'test_create', :estimated_hours => '1:30')
 
     assert issue.save
     assert_equal 1, ActionMailer::Base.deliveries.size