Skip to content

Commit

Permalink
Mongrel is started before tests and stopped at exit
Browse files Browse the repository at this point in the history
  • Loading branch information
drogus committed Jul 24, 2009
1 parent ce02008 commit 85b4dfd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions features/support/hooks.rb
@@ -1,4 +1,5 @@
require 'culerity'
`mongrel_rails start -e cucumber -p 3001 -d`

Before do
$server ||= Culerity::run_server
Expand All @@ -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.