No more annoying deprecation warnings

This commit is contained in:
Jonas Nicklas 2010-02-25 18:01:22 +01:00
parent e123a602c4
commit 1f35a46388
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ class Capybara::Driver::Celerity < Capybara::Driver::Base
end
def value
if node.type == 'select-multiple'
if tag_name == "select" and node.multiple?
node.selected_options
else
super