mirror of
https://github.com/redmine/redmine.git
synced 2025-11-02 03:15:57 +01:00
cleanup: rubocop: fix Layout/IndentFirstArgument in test/functional/project_enumerations_controller_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19238 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -256,15 +256,23 @@ class ProjectEnumerationsControllerTest < Redmine::ControllerTest
|
||||
assert_redirected_to '/projects/ecookbook/settings/activities'
|
||||
|
||||
assert_nil TimeEntryActivity.find_by_id(project_activity.id)
|
||||
assert_equal 0, TimeEntry.where(
|
||||
:activity_id => project_activity.id,
|
||||
:project_id => 1
|
||||
).count,
|
||||
"TimeEntries still assigned to project specific activity"
|
||||
assert_equal 3, TimeEntry.where(
|
||||
:activity_id => 9,
|
||||
:project_id => 1
|
||||
).count,
|
||||
"TimeEntries still assigned to project specific activity"
|
||||
assert_equal(
|
||||
0,
|
||||
TimeEntry.
|
||||
where(
|
||||
:activity_id => project_activity.id,
|
||||
:project_id => 1
|
||||
).count,
|
||||
"TimeEntries still assigned to project specific activity"
|
||||
)
|
||||
assert_equal(
|
||||
3,
|
||||
TimeEntry.
|
||||
where(
|
||||
:activity_id => 9,
|
||||
:project_id => 1
|
||||
).count,
|
||||
"TimeEntries still assigned to project specific activity"
|
||||
)
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user