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

Update for rubocop 0.84

This commit is contained in:
Thomas Walpole 2020-05-23 11:32:20 -07:00
parent e7e42401c1
commit d1abf017d5
2 changed files with 3 additions and 1 deletions

View file

@ -19,6 +19,8 @@ Layout/EmptyLinesAroundAttributeAccessor:
Enabled: true
Style/SlicingWithRange:
Enabled: true
Lint/DeprecatedOpenSSLConstant:
Enabled: true
Layout/LineLength:
Description: 'Limit lines to 80 characters.'

View file

@ -46,7 +46,7 @@ module Capybara
end
def edge?(session)
browser_name(session).match?(/^edge/)
browser_name(session).to_s.start_with?('edge')
end
def legacy_edge?(session)