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:
parent
e7e42401c1
commit
d1abf017d5
2 changed files with 3 additions and 1 deletions
|
@ -19,6 +19,8 @@ Layout/EmptyLinesAroundAttributeAccessor:
|
|||
Enabled: true
|
||||
Style/SlicingWithRange:
|
||||
Enabled: true
|
||||
Lint/DeprecatedOpenSSLConstant:
|
||||
Enabled: true
|
||||
|
||||
Layout/LineLength:
|
||||
Description: 'Limit lines to 80 characters.'
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue