1
0
Fork 0
mirror of https://github.com/teamcapybara/capybara.git synced 2022-11-09 12:08:07 -05:00

Update for latest rubocop

This commit is contained in:
Thomas Walpole 2022-11-03 22:05:30 -07:00
parent c58bc3b6fb
commit cbe27f5dc3
2 changed files with 3 additions and 4 deletions

View file

@ -181,3 +181,6 @@ RSpec/PredicateMatcher:
RSpec/Capybara/FeatureMethods: RSpec/Capybara/FeatureMethods:
Enabled: false Enabled: false
RSpec/Capybara/NegationMatcher:
Enabled: false

View file

@ -1,7 +1,5 @@
# frozen_string_literal: true # frozen_string_literal: true
# rubocop:disable RSpec/Capybara/SpecificMatcher
Capybara::SpecHelper.spec '#has_css?' do Capybara::SpecHelper.spec '#has_css?' do
before do before do
@session.visit('/with_html') @session.visit('/with_html')
@ -375,5 +373,3 @@ Capybara::SpecHelper.spec '#has_no_css?' do
end end
end end
end end
# rubocop:enable RSpec/Capybara/SpecificMatcher