Skip to content

Commit 996a812

Browse files
committed
Shut up useless UselessMethodDefinition cop
1 parent b8dd1bb commit 996a812

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/support/expect_offense.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ module ExpectOffense
99

1010
DEFAULT_FILENAME = 'example_spec.rb'
1111

12-
def expect_offense(source, filename = DEFAULT_FILENAME, *args, **kwargs)
12+
def expect_offense(source, filename = DEFAULT_FILENAME, *args, **kwargs) # rubocop:disable Lint/UselessMethodDefinition
1313
super
1414
end
1515

16-
def expect_no_offenses(source, filename = DEFAULT_FILENAME)
16+
def expect_no_offenses(source, filename = DEFAULT_FILENAME) # rubocop:disable Lint/UselessMethodDefinition
1717
super
1818
end
1919
end

0 commit comments

Comments
 (0)