diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2019-10-09 07:18:57 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2019-10-09 07:18:57 +0000 |
commit | 39352f8208892bcf493a1289a55271320376b630 (patch) | |
tree | a6f5f6b88fed0252e945f74aae14f01de1548c63 | |
parent | 7ba233469f5d0630293a01f1b0c470f71dd528c5 (diff) | |
download | redmine-39352f8208892bcf493a1289a55271320376b630.tar.gz redmine-39352f8208892bcf493a1289a55271320376b630.zip |
fix assert_equal parameter is broken in test/functional/project_enumerations_controller_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18636 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r-- | test/functional/project_enumerations_controller_test.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/functional/project_enumerations_controller_test.rb b/test/functional/project_enumerations_controller_test.rb index c5e465734..98b7a8dd7 100644 --- a/test/functional/project_enumerations_controller_test.rb +++ b/test/functional/project_enumerations_controller_test.rb @@ -157,7 +157,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 @@ -188,11 +188,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 |