Make Rubocop check for focused specs

This commit is contained in:
Frederic Merizen 2017-12-22 16:50:20 +01:00
parent 04e89da2f4
commit 6d223aee06
3 changed files with 10 additions and 0 deletions

View file

@ -1,3 +1,6 @@
require:
- rubocop/rspec/focused
AllCops:
Exclude:
- "db/schema.rb"
@ -614,6 +617,9 @@ Rails/Validation:
Rails:
Enabled: false
RSpec/Focused:
Enabled: true
Security/Eval:
Enabled: false

View file

@ -135,6 +135,7 @@ group :development do
gem 'rack-handlers'
gem 'xray-rails'
gem 'rubocop', require: false
gem 'rubocop-rspec-focused', require: false
gem 'haml-lint'
gem 'scss_lint', require: false
end

View file

@ -562,6 +562,8 @@ GEM
rainbow (>= 1.99.1, < 3.0)
ruby-progressbar (~> 1.7)
unicode-display_width (~> 1.0, >= 1.0.1)
rubocop-rspec-focused (0.1.0)
rubocop (>= 0.37)
ruby-progressbar (1.8.1)
ruby_dep (1.5.0)
ruby_parser (3.10.1)
@ -754,6 +756,7 @@ DEPENDENCIES
rspec-rails (~> 3.0)
rspec_junit_formatter
rubocop
rubocop-rspec-focused
sass-rails (~> 5.0)
scenic
scss_lint