about summary refs log tree commit homepage
path: root/t/t0302-rails3-alt-working_directory.sh
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2012-07-26 23:44:04 +0000
committerEric Wong <normalperson@yhbt.net>2012-07-28 02:17:20 +0000
commit91a3cde091d4ae6ff436681f155b3907daae1c04 (patch)
treeb6c525daf103dcd829c6ff403d6220ad5a178ec4 /t/t0302-rails3-alt-working_directory.sh
parentf4f2de4a526f3a88573f2f839e6865637c67dbe5 (diff)
downloadunicorn-91a3cde091d4ae6ff436681f155b3907daae1c04.tar.gz
It's too much overhead to keep Rails-specific tests working,
especially when it's hauling in an ancient version of SQLite3.
Since Rails 3 has settled down with Rack and unicorn_rails is
unlikely to need changing in the future, we can drop these
tests.
Diffstat (limited to 't/t0302-rails3-alt-working_directory.sh')
-rwxr-xr-xt/t0302-rails3-alt-working_directory.sh32
1 files changed, 0 insertions, 32 deletions
diff --git a/t/t0302-rails3-alt-working_directory.sh b/t/t0302-rails3-alt-working_directory.sh
deleted file mode 100755
index 0a8894e..0000000
--- a/t/t0302-rails3-alt-working_directory.sh
+++ /dev/null
@@ -1,32 +0,0 @@
-#!/bin/sh
-. ./test-rails3.sh
-
-t_plan 3 "Rails 3 (beta) inside alt working_directory (no config.ru)"
-
-t_begin "setup and start" && {
-        unicorn_setup
-        rails3_app=$(cd rails3-app && pwd)
-        rm -rf $t_pfx.app
-        mkdir $t_pfx.app
-        cd $t_pfx.app
-        ( cd $rails3_app && tar cf - . ) | tar xf -
-        rm config.ru
-        $RAKE db:sessions:create
-        $RAKE db:migrate
-        unicorn_setup
-        rm $pid
-        echo "working_directory '$t_pfx.app'" >> $unicorn_config
-        cd /
-        unicorn_rails -D -c $unicorn_config
-        unicorn_wait_start
-}
-
-t_begin "static file serving works" && {
-        test x"$(curl -sSf http://$listen/x.txt)" = xHELLO
-}
-
-t_begin "killing succeeds" && {
-        kill $unicorn_pid
-}
-
-t_done