Skip to content

Commit cbe27f5

Browse files
committed
Update for latest rubocop
1 parent c58bc3b commit cbe27f5

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.rubocop.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,3 +181,6 @@ RSpec/PredicateMatcher:
181181

182182
RSpec/Capybara/FeatureMethods:
183183
Enabled: false
184+
185+
RSpec/Capybara/NegationMatcher:
186+
Enabled: false

lib/capybara/spec/session/has_css_spec.rb

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
# frozen_string_literal: true
22

3-
# rubocop:disable RSpec/Capybara/SpecificMatcher
4-
53
Capybara::SpecHelper.spec '#has_css?' do
64
before do
75
@session.visit('/with_html')
@@ -375,5 +373,3 @@
375373
end
376374
end
377375
end
378-
379-
# rubocop:enable RSpec/Capybara/SpecificMatcher

0 commit comments

Comments
 (0)