diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2019-10-15 05:07:40 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2019-10-15 05:07:40 +0000 |
commit | 9e05932c456dac5dd2d86f55b2d8dc3c7c1d9b1e (patch) | |
tree | e84614694159d4bbbcdf82bc702c1f8e4d1667ef /test | |
parent | 4c2224814369f6399c90efed0f993676b7e8c537 (diff) | |
download | redmine-9e05932c456dac5dd2d86f55b2d8dc3c7c1d9b1e.tar.gz redmine-9e05932c456dac5dd2d86f55b2d8dc3c7c1d9b1e.zip |
code layout clean up test/unit/project_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18676 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test')
-rw-r--r-- | test/unit/project_test.rb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/unit/project_test.rb b/test/unit/project_test.rb index 3858eba45..a70a793ca 100644 --- a/test/unit/project_test.rb +++ b/test/unit/project_test.rb @@ -800,9 +800,11 @@ class ProjectTest < ActiveSupport::TestCase def test_activities_should_not_include_the_inactive_project_specific_activities project = Project.find(1) - overridden_activity = TimeEntryActivity.new({:name => "Project", :project => project, :parent => TimeEntryActivity.first, :active => false}) + overridden_activity = TimeEntryActivity.new({:name => "Project", + :project => project, + :parent => TimeEntryActivity.first, + :active => false}) assert overridden_activity.save! - assert !project.activities.include?(overridden_activity), "Inactive Project specific Activity found" end |