4 t_plan
4 "Rails 3 (beta) tests for config.ru haters"
6 t_begin
"setup and start" && {
7 rails3_app
=$
(cd rails3-app
&& pwd)
11 ( cd $rails3_app && tar cf
- .
) |
tar xf
-
13 $RAKE db
:sessions
:create
16 unicorn_rails
-D -c $unicorn_config
20 t_begin
"static file serving works" && {
21 test x
"$(curl -sSf http://$listen/x.txt)" = xHELLO
25 t_begin
"hit with curl" && {
26 curl
-v http
://$listen/ ||
:
29 t_begin
"killing succeeds" && {