Squashed commit of the following:
commit fb88141863
Author: Jarl Friis <jarl@softace.dk>
Date: Mon Sep 3 22:06:07 2012 +0200
Improved implementation. Removing need for YAML. Extending the driver API to take an Array when 'multiple' attribute is present.
commit 977f1c50c2
Author: Jarl Friis <jarl@softace.dk>
Date: Mon Sep 3 11:56:04 2012 +0200
Changing decision criteria to support 1.8.7
commit b217deef4a
Author: Jarl Friis <jarl@softace.dk>
Date: Mon Sep 3 10:38:16 2012 +0200
Support for 'multiple' attribute in input tags, see https://github.com/jnicklas/capybara/issues/778
commit 155b9fcf79
Author: Jarl Friis <jarl@softace.dk>
Date: Mon Sep 3 10:33:00 2012 +0200
Test that demonstrates lack of support for 'multiple' attribute in input tags, see https://github.com/jnicklas/capybara/issues/778
Conflicts:
lib/capybara/node/actions.rb
lib/capybara/selenium/node.rb
lib/capybara/spec/session/attach_file_spec.rb
WebKit will append a '?' to the URL when submitting a form via GET, even
if there is no actual form data. (Firefox does not.) This causes a couple
of tests to fail for the Poltergeist driver, because the tests do not
expect there to be a '?'. Presumably it would also affect
capybara-webkit.
I am not sure which behaviour is 'correct' but it would seem a bad idea
to mess with the URL that the browser is actually providing, so changing
to test like this just allows the results to be consistent.
Fold all current_host specs into common current{_url,_host,_path} specs,
since current_host simply calls current_url. Since current_host omits
the port, differentiating between different servers on localhost is
impossible without the help of current_url.
Two examples are pending now, since Rack::Test ignores ports when
changing hosts.