Layout/EmptyLineBetweenDefs:
Exclude:
- 'app/models/version.rb'
- - 'test/unit/project_test.rb'
# Cop supports --auto-correct.
Layout/EmptyLines:
- 'test/functional/project_enumerations_controller_test.rb'
- 'test/helpers/application_helper_test.rb'
- 'test/unit/lib/redmine/wiki_formatting/textile_formatter_test.rb'
- - 'test/unit/project_test.rb'
- 'test/unit/query_test.rb'
# Cop supports --auto-correct.
assert_kind_of ActiveRecord::Relation, project.activities
end
-
def test_activities_should_use_the_project_specific_activities
project = Project.find(1)
overridden_activity = TimeEntryActivity.new({:name => "Project", :project => project})