]> git.openstreetmap.org Git - rails.git/commitdiff
Add rubocop-capybara
authorTom Hughes <tom@compton.nu>
Tue, 7 Mar 2023 17:09:29 +0000 (17:09 +0000)
committerTom Hughes <tom@compton.nu>
Tue, 7 Mar 2023 17:09:29 +0000 (17:09 +0000)
.rubocop.yml
Gemfile
Gemfile.lock

index 65db8a6a563522c536389729db7ec383aca9f0f6..cfa31cc048d6423973cd42b78d6ad7d000a63c1b 100644 (file)
@@ -1,6 +1,7 @@
 inherit_from: .rubocop_todo.yml
 
 require:
+  - rubocop-capybara
   - rubocop-minitest
   - rubocop-performance
   - rubocop-rails
diff --git a/Gemfile b/Gemfile
index f7a3e502ed499d92ab8369d11912bf61f726572a..8a5d4432a06425e1f6d0b9ff2d9bf0cf2009a3a8 100644 (file)
--- a/Gemfile
+++ b/Gemfile
@@ -151,6 +151,7 @@ group :test do
   gem "puma", "~> 5.6"
   gem "rails-controller-testing"
   gem "rubocop"
+  gem "rubocop-capybara"
   gem "rubocop-minitest"
   gem "rubocop-performance"
   gem "rubocop-rails"
index 6251bb43ac6d6ca4a58331eb0d6238e012c83efa..c94a4293497f553665377b5c2da78017259b55b9 100644 (file)
@@ -430,6 +430,8 @@ GEM
       unicode-display_width (>= 2.4.0, < 3.0)
     rubocop-ast (1.27.0)
       parser (>= 3.2.1.0)
+    rubocop-capybara (2.17.1)
+      rubocop (~> 1.41)
     rubocop-minitest (0.29.0)
       rubocop (>= 1.39, < 2.0)
     rubocop-performance (1.16.0)
@@ -585,6 +587,7 @@ DEPENDENCIES
   rinku (>= 2.0.6)
   rotp
   rubocop
+  rubocop-capybara
   rubocop-minitest
   rubocop-performance
   rubocop-rails