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 and Kim Burgestrand
0188693ced
Added option for rack-test driver to disable data method hack closes #184
2011-08-30 11:20:29 +02:00
Jonas Nicklas and Nicklas Ramhöj
39eac9af37
Fix paths relative to root path in rack-test, closes #454
2011-08-30 10:54:20 +02:00
Jonas Nicklas and Nicklas Ramhöj
33b1a27c32
Preserve headers on redirects, closes #464
2011-08-30 10:19:52 +02:00
Matt Colyer
3111e80145
Add a failing test.
2011-07-18 12:08:55 -07:00
John Barton (joho)
8834050049
Actually properly handling relative URLs for forms
...
(Where I subtly misunderstood how URIs work)
2011-05-22 18:37:02 +10:00
John Barton (joho)
4d4eebe573
Fix problem where capybara can't post to relative urls in form actions.
2011-05-22 18:13:40 +10:00
Jonas Nicklas
3e5d923b45
don't use request.domain as it's not always available
2011-04-02 16:58:13 +02:00
Jonas Nicklas
29319c0546
Nail down behaviour of rack-test and hosts
2011-03-25 09:16:28 +00:00
Jonas Nicklas and Nicklas Ramhöj
021b87f6ba
Selenium driver automatically waits for AJAX requests to finish
2011-02-22 15:53:43 +01:00
Jonas Nicklas
3cd365819b
Make Capybara::Driver::RackTest#reset! more comprehensive
...
So that it resets request, responses and headers as well as cookies
2011-01-19 12:39:15 +00:00
Jonas Nicklas
380f3d7a08
Merge branch 'master' of https://github.com/ryankinderman/capybara into ryankinderman-master
2010-12-22 15:46:19 +01:00
Jonas Nicklas
c20a00c694
Testapps self contained running uses WEBrick
...
There's really no point in using Mongrel
2010-12-17 09:19:47 +01:00
Jonas Nicklas
29898295dc
Fixes issue with multipart forms being submitted as x-www-form-urlencoded when they contain an empty file field
2010-12-06 01:35:07 -06:00
Philip Arndt
4cfe882c98
Turns out we don't have to exclude @multiple after all but merely @type='file'. Now includes specs that pass with this change and fail without it.
2010-11-11 11:43:58 +13:00
Myron Marston
5b72525a96
Detect infinite redirection (i.e. more than 5 redirects).
...
This originally worked with a timeout. Jonas fixed it so that it follows 5 redirects, but the infinite redirect error was not raised.
2010-06-29 14:11:24 -07:00
Carlos Antonio da Silva
5ad348d776
Add cleanup method to clear cookies for Celerity/Culerity and RackTest, with tests for Selenium included
2010-06-24 10:51:44 -03:00
Jonas Nicklas
cf1aa4d073
Moved shared specs into lib directory
...
This way, implementations of other drivers can
use the specs to verify that they are working
correctly.
2010-04-09 16:41:35 +02:00