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

Merge pull request #2126 from colorbox/remove-needless-parameter-on-doc

Remove needless parameter[ci skip]
This commit is contained in:
Thomas Walpole 2018-11-02 11:45:45 -07:00 committed by GitHub
commit d1e4b4184a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -187,10 +187,11 @@ module Capybara
#
# page.select 'March', from: 'Month'
#
# @macro waiting_behavior
# @overload select(value = nil, from: nil, **options)
# @macro waiting_behavior
#
# @param value [String] Which option to select
# @param from [String] The id, Capybara.test_id atrtribute, name or label of the select box
# @param value [String] Which option to select
# @param from [String] The id, Capybara.test_id atrtribute, name or label of the select box
#
# @return [Capybara::Node::Element] The option element selected
def select(value = nil, from: nil, **options)
@ -211,10 +212,12 @@ module Capybara
#
# page.unselect 'March', from: 'Month'
#
# @macro waiting_behavior
# @overload unselect(value = nil, from: nil, **options)
# @macro waiting_behavior
#
# @param value [String] Which option to unselect
# @param from [String] The id, Capybara.test_id attribute, name or label of the select box
#
# @param value [String] Which option to unselect
# @param from [String] The id, Capybara.test_id attribute, name or label of the select box
#
# @return [Capybara::Node::Element] The option element unselected
def unselect(value = nil, from: nil, **options)