]> source.dussan.org Git - redmine.git/commitdiff
code layout clean up test_report_all_projects_csv_export of test/functional/time_entr...
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 12 Nov 2011 08:34:49 +0000 (08:34 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 12 Nov 2011 08:34:49 +0000 (08:34 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7783 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/functional/time_entry_reports_controller_test.rb

index b11fc8f509009cf4dd72e4638e6bca5b0cb347ef..06146151b53f0712d9c2a14c86f76ccfc0fa3664 100644 (file)
@@ -118,12 +118,14 @@ class TimeEntryReportsControllerTest < ActionController::TestCase
   end
 
   def test_report_all_projects_csv_export
-    get :report, :columns => 'month', :from => "2007-01-01", :to => "2007-06-30", :criterias => ["project", "member", "activity"], :format => "csv"
+    get :report, :columns => 'month', :from => "2007-01-01", :to => "2007-06-30",
+        :criterias => ["project", "member", "activity"], :format => "csv"
     assert_response :success
     assert_equal 'text/csv', @response.content_type
     lines = @response.body.chomp.split("\n")
     # Headers
-    assert_equal 'Project,Member,Activity,2007-1,2007-2,2007-3,2007-4,2007-5,2007-6,Total', lines.first
+    assert_equal 'Project,Member,Activity,2007-1,2007-2,2007-3,2007-4,2007-5,2007-6,Total',
+                 lines.first
     # Total row
     assert_equal 'Total,"","","","",154.25,8.65,"","",162.90', lines.last
   end