diff --git a/spec/fixtures/rubocop_exception.rb b/spec/fixtures/rubocop_exception.rb index 663661c..7f63af5 100644 --- a/spec/fixtures/rubocop_exception.rb +++ b/spec/fixtures/rubocop_exception.rb @@ -2,4 +2,8 @@ # frozen_string_literal: true module RubocopException + # rubocop:disable Rails/SomeRule + def some_method_with_disabled_rule + end + # rubocop:enable Rails/SomeRule end