mirror of
https://github.com/teamcapybara/capybara.git
synced 2022-11-09 12:08:07 -05:00
Remove needless parameter[ci skip]
There is duplicated parameter about options hash. This commit remove them with @oveload directive from doc.
This commit is contained in:
parent
fe762074ce
commit
3016745553
1 changed files with 9 additions and 6 deletions
|
@ -187,10 +187,11 @@ module Capybara
|
||||||
#
|
#
|
||||||
# page.select 'March', from: 'Month'
|
# 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 value [String] Which option to select
|
||||||
# @param from [String] The id, Capybara.test_id atrtribute, name or label of the select box
|
# @param from [String] The id, Capybara.test_id atrtribute, name or label of the select box
|
||||||
#
|
#
|
||||||
# @return [Capybara::Node::Element] The option element selected
|
# @return [Capybara::Node::Element] The option element selected
|
||||||
def select(value = nil, from: nil, **options)
|
def select(value = nil, from: nil, **options)
|
||||||
|
@ -211,10 +212,12 @@ module Capybara
|
||||||
#
|
#
|
||||||
# page.unselect 'March', from: 'Month'
|
# 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
|
# @return [Capybara::Node::Element] The option element unselected
|
||||||
def unselect(value = nil, from: nil, **options)
|
def unselect(value = nil, from: nil, **options)
|
||||||
|
|
Loading…
Reference in a new issue