Permalink
Browse files

Mongrel is started before tests and stopped at exit

  • Loading branch information...
1 parent ce02008 commit 85b4dfda5d76f1aee28d632eef1ff57047515ebd @drogus committed Jul 20, 2009
Showing with 2 additions and 0 deletions.
  1. +2 −0 features/support/hooks.rb
@@ -1,4 +1,5 @@
require 'culerity'
+`mongrel_rails start -e cucumber -p 3001 -d`
Before do
$server ||= Culerity::run_server
@@ -14,4 +15,5 @@
at_exit do
$browser.exit
$server.close
+ `mongrel_rails stop`
end

0 comments on commit 85b4dfd

Please sign in to comment.