Jonas Nicklas
d3ebc53c74
Move utils into own folder
2010-07-10 03:06:44 +02:00
Jonas Nicklas
bbc8964439
Explicit module for Server
2010-07-09 20:31:58 +02:00
Jonas Nicklas
d7938b9cd9
Rename WaitUntil to timeout
2010-07-09 20:30:50 +02:00
Jonas Nicklas
9fe037d0b4
Revert "Use TCPServer to find available port for server"
...
This reverts commit a8a4efc379
.
2010-07-09 10:05:30 +02:00
Bernerd Schaefer
a8a4efc379
Use TCPServer to find available port for server
...
This protects against the race conditions which inevitably occur
when booting multiple capybara servers (such as running specjour).
TCPServer.new() will set recently opened sockets to SOCK_WAIT status to
ensure that a certain amount of time elapses before they are reused.
2010-07-06 16:03:32 -05:00
lucasprim
736e5d4aa3
MSWin Fix
2010-03-24 14:21:33 -03:00
Jonas Nicklas
2b6fd77db5
Make sure server does nothing when no app given
2010-03-12 19:14:10 +01:00
Jonas Nicklas
20e32d9d4a
Darrin Holst to contributors
2010-02-26 09:04:45 +01:00
Jonas Nicklas
4c632f3a17
Improved handler loading for JRuby
2010-02-19 18:13:03 +01:00
Jonas Nicklas
a906e6b1fc
Prefer thin over mongrel, Closes #34
...
For Ruby 1.9 compatibility
2010-02-07 18:58:52 +01:00
Jonas Nicklas
b4de9b7015
Fixed failing server spec, server needs to be booted
2010-01-30 20:31:52 +01:00
Jonas Nicklas
7ce5752da3
Load handlers together with server
2010-01-23 12:49:40 +01:00
Graham Ashton
c50d9c8490
Catch MissingSourceFile error raised when mongrel isn't installed.
2010-01-21 00:33:19 +00:00
Jonas Nicklas
ecdc2bd8c5
visit now allow fully qualified URLs.
...
This also introduces Capybara.run_server, which
controls whether Capybara will spool up a server
or not.
2010-01-17 17:40:26 +01:00
Jonas Nicklas
6a3abbe006
Whitespace!
2010-01-01 17:48:39 +01:00
Jonas Nicklas
c5d0de9b94
Fallback to WEBRick if Mongrel is unavailable (JRuby)
2009-12-19 11:35:47 +01:00
Jonas Nicklas
a996d5eba6
Server is smarter about choosing open port, Closes #4
2009-12-13 14:33:14 +01:00
Aslak Hellesøy
61338d0786
Handle absolute URIs (happens with Rails)
2009-12-09 16:39:03 +01:00
Aslak Hellesøy
1a419cdb1c
Add missing require
2009-12-07 02:53:57 +01:00
Theo Hultberg and Jonas Nicklas
6b099a4a33
renamed to capybara
2009-11-16 22:02:16 +01:00