diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d2ea0d7..53fbee6 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -20,6 +20,8 @@ jobs: ruby: ["2.6", "2.7", "3.0", "3.1", "3.2", ruby-head, jruby] rubocop_version: [""] include: + - ruby: "2.6" + rubocop_version: "'1.0.0'" - ruby: "3.2" rubocop_version: "github: 'rubocop/rubocop'" steps: diff --git a/test/integration_test.rb b/test/integration_test.rb index 77a0511..a635090 100644 --- a/test/integration_test.rb +++ b/test/integration_test.rb @@ -357,7 +357,7 @@ class Person < ApplicationRecord That's it. CODE - res = run_rubocop(fixture_name, options: "--autocorrect-all") + res = run_rubocop(fixture_name, options: "-A") assert_match %r{7 offenses detected}, res assert_match %r{7 offenses corrected}, res