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:
parent
c58bc3b6fb
commit
cbe27f5dc3
2 changed files with 3 additions and 4 deletions
|
@ -181,3 +181,6 @@ RSpec/PredicateMatcher:
|
||||||
|
|
||||||
RSpec/Capybara/FeatureMethods:
|
RSpec/Capybara/FeatureMethods:
|
||||||
Enabled: false
|
Enabled: false
|
||||||
|
|
||||||
|
RSpec/Capybara/NegationMatcher:
|
||||||
|
Enabled: false
|
||||||
|
|
|
@ -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
|
|
||||||
|
|
Loading…
Reference in a new issue