]> source.dussan.org Git - redmine.git/commitdiff
Merged r18636 from trunk to 4.0-stable
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Wed, 9 Oct 2019 07:33:50 +0000 (07:33 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Wed, 9 Oct 2019 07:33:50 +0000 (07:33 +0000)
fix assert_equal parameter is broken in test/functional/project_enumerations_controller_test.rb

git-svn-id: http://svn.redmine.org/redmine/branches/4.0-stable@18637 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/functional/project_enumerations_controller_test.rb

index 2d87b13a7f0ef5f244c2d338ef289b771d422e54..ccd503fef265e2eafb7a18c2e4dfb4337b20a693 100644 (file)
@@ -155,7 +155,7 @@ class ProjectEnumerationsControllerTest < Redmine::ControllerTest
     # All TimeEntries using project activity
     project_specific_activity = TimeEntryActivity.find_by_parent_id_and_project_id(9, 1)
     assert_equal 3, TimeEntry.where(:activity_id => project_specific_activity.id,
-                                    :project_id => 1).count
+                                    :project_id => 1).count,
                  "No Time Entries assigned to the project activity"
   end
 
@@ -185,11 +185,11 @@ class ProjectEnumerationsControllerTest < Redmine::ControllerTest
 
     # TimeEntries shouldn't have been reassigned on the failed record
     assert_equal 3, TimeEntry.where(:activity_id => 9,
-                                    :project_id => 1).count
+                                    :project_id => 1).count,
                  "Time Entries are not assigned to system activities"
     # TimeEntries shouldn't have been reassigned on the saved record either
     assert_equal 1, TimeEntry.where(:activity_id => 10,
-                                    :project_id => 1).count
+                                    :project_id => 1).count,
                  "Time Entries are not assigned to system activities"
   end