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

6 commits

Author SHA1 Message Date
Thomas Walpole
dbeec59726 cleanup some warnings 2017-01-26 16:10:51 -08:00
Thomas Walpole
07e7777425 frozen literal magic comment 2016-03-07 16:52:19 -08:00
Jo Liss
0209a2c721 Revert "Use method="post"."
This reverts commit 3f2e0288ca.
2012-01-12 18:30:21 +01:00
Jon Leighton
3f2e0288ca Use method="post".
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.
2012-01-12 16:26:25 +00:00
Jo Liss
74d01a7b2b Eliminate dependency on Heroku apps to make specs less brittle
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.
2012-01-04 19:04:09 +01:00
Jonas Nicklas
29319c0546 Nail down behaviour of rack-test and hosts 2011-03-25 09:16:28 +00:00