diff --git a/.rubocop.yml b/.rubocop.yml index 56146848..dc610d54 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -5,6 +5,7 @@ inherit_from: require: - rubocop-rake - rubocop-rspec + - rubocop-capybara AllCops: Include: diff --git a/Gemfile b/Gemfile index 14aa5150..867b0ee3 100644 --- a/Gemfile +++ b/Gemfile @@ -22,6 +22,7 @@ gem "rubocop", "~> 1.31" gem "rubocop-faker", "~> 1.1" gem "rubocop-rake", "~> 0.6.0" gem "rubocop-rspec", "~> 2.13" +gem "rubocop-rspec_rails", "~> 2.29" group :test do gem "capybara", "~> 3.37" diff --git a/Gemfile.lock b/Gemfile.lock index 7fb54fa5..8f2be62d 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -99,7 +99,7 @@ GEM io-console (0.5.11) irb (1.4.1) reline (>= 0.3.0) - json (2.7.1) + json (2.7.2) kramdown (2.4.0) rexml language_server-protocol (3.17.0.3) @@ -167,14 +167,14 @@ GEM padrino-support (= 0.15.1) tilt (>= 1.4.1, < 3) padrino-support (0.15.1) - parallel (1.24.0) - parser (3.2.2.4) + parallel (1.25.1) + parser (3.3.4.0) ast (~> 2.4.1) racc parslet (2.0.0) progress (3.6.0) public_suffix (5.0.0) - racc (1.6.1) + racc (1.8.0) rack (2.2.4) rack-livereload (0.3.17) rack @@ -200,10 +200,11 @@ GEM rb-inotify (0.10.1) ffi (~> 1.0) redcarpet (3.5.1) - regexp_parser (2.8.3) + regexp_parser (2.9.2) reline (0.3.1) io-console (~> 0.5) - rexml (3.2.6) + rexml (3.3.1) + strscan rspec (3.11.0) rspec-core (~> 3.11.0) rspec-expectations (~> 3.11.0) @@ -217,19 +218,19 @@ GEM diff-lcs (>= 1.2.0, < 2.0) rspec-support (~> 3.11.0) rspec-support (3.11.1) - rubocop (1.59.0) + rubocop (1.65.0) json (~> 2.3) language_server-protocol (>= 3.17.0) parallel (~> 1.10) - parser (>= 3.2.2.4) + parser (>= 3.3.0.2) rainbow (>= 2.2.2, < 4.0) - regexp_parser (>= 1.8, < 3.0) + regexp_parser (>= 2.4, < 3.0) rexml (>= 3.2.5, < 4.0) - rubocop-ast (>= 1.30.0, < 2.0) + rubocop-ast (>= 1.31.1, < 2.0) ruby-progressbar (~> 1.7) unicode-display_width (>= 2.4.0, < 3.0) - rubocop-ast (1.30.0) - parser (>= 3.2.1.0) + rubocop-ast (1.31.3) + parser (>= 3.3.1.0) rubocop-capybara (2.19.0) rubocop (~> 1.41) rubocop-factory_bot (2.24.0) @@ -243,11 +244,14 @@ GEM rubocop (~> 1.40) rubocop-capybara (~> 2.17) rubocop-factory_bot (~> 2.22) + rubocop-rspec_rails (2.29.1) + rubocop (~> 1.61) ruby-progressbar (1.13.0) sassc (2.4.0) ffi (~> 1.9) servolux (0.13.0) smart_properties (1.17.0) + strscan (3.1.0) temple (0.8.2) terminal-table (3.0.2) unicode-display_width (>= 1.1.1, < 3) @@ -287,6 +291,7 @@ DEPENDENCIES rubocop-faker (~> 1.1) rubocop-rake (~> 0.6.0) rubocop-rspec (~> 2.13) + rubocop-rspec_rails (~> 2.29) tzinfo-data wdm (~> 0.1)