lib/quality/tools/rubocop.rb in quality-16.0.1 vs lib/quality/tools/rubocop.rb in quality-17.0.0
- old
+ new
@@ -3,10 +3,10 @@
# Adds 'rubocop' tool support to quality gem
module Rubocop
private
def rubocop_args
- "--format emacs #{ruby_files.join(' ')}"
+ "--require rubocop-rspec --format emacs #{ruby_files.join(' ')}"
end
def quality_rubocop
ratchet_quality_cmd('rubocop',
gives_error_code_on_violations: true,