diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index d350ece64..1aae23a91 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -128,7 +128,6 @@ Layout/EmptyLineAfterGuardClause: Layout/EmptyLineBetweenDefs: Exclude: - 'app/models/version.rb' - - 'test/unit/project_test.rb' # Cop supports --auto-correct. Layout/EmptyLines: @@ -143,7 +142,6 @@ 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. diff --git a/test/unit/project_test.rb b/test/unit/project_test.rb index 8d447f474..3858eba45 100644 --- a/test/unit/project_test.rb +++ b/test/unit/project_test.rb @@ -789,7 +789,6 @@ class ProjectTest < ActiveSupport::TestCase 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})