diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 19b51f613..54085a70b 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -40,7 +40,6 @@ Layout/AlignArray: - 'app/models/setting.rb' - 'lib/redmine/default_data/loader.rb' - 'test/functional/issues_controller_test.rb' - - 'test/unit/lib/redmine/scm/adapters/mercurial_adapter_test.rb' - 'test/unit/repository_bazaar_test.rb' # Cop supports --auto-correct. diff --git a/test/unit/lib/redmine/scm/adapters/mercurial_adapter_test.rb b/test/unit/lib/redmine/scm/adapters/mercurial_adapter_test.rb index 6d44a9f43..1c2a597da 100644 --- a/test/unit/lib/redmine/scm/adapters/mercurial_adapter_test.rb +++ b/test/unit/lib/redmine/scm/adapters/mercurial_adapter_test.rb @@ -80,7 +80,7 @@ class MercurialAdapterTest < ActiveSupport::TestCase def test_info [REPOSITORY_PATH, REPOSITORY_PATH + "/", - REPOSITORY_PATH + "//"].each do |repo| + REPOSITORY_PATH + "//"].each do |repo| adp = Redmine::Scm::Adapters::MercurialAdapter.new(repo) repo_path = adp.info.root_url.gsub(/\\/, "/") assert_equal REPOSITORY_PATH, repo_path