Skip to content

Commit

Permalink
Update for latest rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
twalpole committed Nov 4, 2022
1 parent c58bc3b commit cbe27f5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 3 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -181,3 +181,6 @@ RSpec/PredicateMatcher:

RSpec/Capybara/FeatureMethods:
Enabled: false

RSpec/Capybara/NegationMatcher:
Enabled: false
4 changes: 0 additions & 4 deletions lib/capybara/spec/session/has_css_spec.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# frozen_string_literal: true

# rubocop:disable RSpec/Capybara/SpecificMatcher

Capybara::SpecHelper.spec '#has_css?' do
before do
@session.visit('/with_html')
Expand Down Expand Up @@ -375,5 +373,3 @@
end
end
end

# rubocop:enable RSpec/Capybara/SpecificMatcher

0 comments on commit cbe27f5

Please sign in to comment.