Sha256: e3480381f6df8afbffda6ddb9769fea138b5e00ea20e8324a215bfb6361f30d8

Contents?: true

Size: 513 Bytes

Versions: 52

Compression:

Stored size: 513 Bytes

Contents

#!/bin/sh
. ./test-rails3.sh

t_plan 3 "Rails 3 (beta) tests"

t_begin "setup and start" && {
	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 -
	$RAKE db:sessions:create
	$RAKE db:migrate
	unicorn_setup
	unicorn_rails -D -c $unicorn_config
	unicorn_wait_start
}

# add more tests here
t_begin "hit with curl" && {
	test xHELLO = x"$(curl -sSf http://$listen/x.txt)"
}

t_begin "killing succeeds" && {
	kill $unicorn_pid
}

t_done

Version data entries

52 entries across 52 versions & 4 rubygems

Version Path
preplay_unicorn-4.3.1.5.ga7df t/t0300-rails3-basic.sh
preplay_unicorn-4.3.1.2.gc450 t/t0300-rails3-basic.sh
unicorn-lb-patch-4.3.1.13.gb7d9 t/t0300-rails3-basic.sh
unicorn-lb-patch-4.3.1.11.g21b8.dirty t/t0300-rails3-basic.sh
unicorn-heroku-4.3.1.1.gc608.dirty t/t0300-rails3-basic.sh
unicorn-4.3.1 t/t0300-rails3-basic.sh
unicorn-4.3.0.2.g4551 t/t0300-rails3-basic.sh
unicorn-4.3.0 t/t0300-rails3-basic.sh
unicorn-4.2.1 t/t0300-rails3-basic.sh
unicorn-4.2.0 t/t0300-rails3-basic.sh
unicorn-4.1.1 t/t0300-rails3-basic.sh
unicorn-4.1.0 t/t0300-rails3-basic.sh
unicorn-4.0.1.4.g406b t/t0300-rails3-basic.sh
unicorn-4.0.1 t/t0300-rails3-basic.sh
unicorn-4.0.0.2.g19f7 t/t0300-rails3-basic.sh
unicorn-4.0.0 t/t0300-rails3-basic.sh
unicorn-3.7.0 t/t0300-rails3-basic.sh
unicorn-3.6.2 t/t0300-rails3-basic.sh
unicorn-1.1.7 t/t0300-rails3-basic.sh
unicorn-3.6.1 t/t0300-rails3-basic.sh