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:
commit
5d0284c0bf
1 changed files with 1 additions and 1 deletions
|
|
@ -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|
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue