No more annoying deprecation warnings
This commit is contained in:
parent
e123a602c4
commit
1f35a46388
|
@ -14,7 +14,7 @@ class Capybara::Driver::Celerity < Capybara::Driver::Base
|
||||||
end
|
end
|
||||||
|
|
||||||
def value
|
def value
|
||||||
if node.type == 'select-multiple'
|
if tag_name == "select" and node.multiple?
|
||||||
node.selected_options
|
node.selected_options
|
||||||
else
|
else
|
||||||
super
|
super
|
||||||
|
|
Loading…
Reference in New Issue