Permalink
Browse files

Daemonize server in the test suite.

  • Loading branch information...
1 parent fd81d8f commit 6427a005d7f9afbac0536effe4a9cc8611bf792e @technomancy committed Apr 22, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/test_harker.rb
View
@@ -70,7 +70,7 @@ def harker_action(action)
end
def start_server_process
- `cd #{File.dirname(__FILE__)}/.. ; ruby -I:lib:test/sample/lib test/sample/bin/sample_rails start #{ROOT}`
+ `cd #{File.dirname(__FILE__)}/.. ; ruby -I:lib:test/sample/lib test/sample/bin/sample_rails start #{ROOT} -d`
Timeout.timeout(5) do
loop { break if File.exist?(ROOT + '/tmp/pids/server.pid'); sleep 0.1 }
end

0 comments on commit 6427a00

Please sign in to comment.