Skip to content

Commit 1aedbcd

Browse files
authored
Merge pull request #52 from koic/suppress_rubocop_offense
Suppress a RuboCop's offense
2 parents 7e79d6b + e1b60d0 commit 1aedbcd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/rubocop/packaging_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
describe "default configuration file" do
1111
subject(:config) { RuboCop::ConfigLoader.load_file("config/default.yml") }
1212

13-
let(:registry) { RuboCop::Cop::Cop.registry }
13+
let(:registry) { RuboCop::Cop::Registry.global }
1414
let(:cop_names) do
1515
registry.with_department(:Packaging).cops.map(&:cop_name)
1616
end

0 commit comments

Comments
 (0)