lib/rubocop/cop/rspec/file_path.rb in rubocop-rspec-1.23.0 vs lib/rubocop/cop/rspec/file_path.rb in rubocop-rspec-1.24.0
- old
+ new
@@ -105,10 +105,10 @@
def filename_ends_with?(glob)
File.fnmatch?("*#{glob}", processed_source.buffer.name)
end
- def relevant_rubocop_rspec_file?(_)
+ def relevant_rubocop_rspec_file?(_file)
true
end
end
end
end