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

Merge pull request #2453 from wonda-tea-coffee/fix-argument-error-message

delete duplicated back quote
This commit is contained in:
Thomas Walpole 2021-03-20 05:45:15 -07:00 committed by GitHub
commit 5d0284c0bf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -277,7 +277,7 @@ module Capybara
# @return [Capybara::Node::Element] The file field element
def attach_file(locator = nil, paths, make_visible: nil, **options) # rubocop:disable Style/OptionalArguments
if locator && block_given?
raise ArgumentError, '``#attach_file` does not support passing both a locator and a block'
raise ArgumentError, '`#attach_file` does not support passing both a locator and a block'
end
Array(paths).each do |path|