1
0
Fork 0
mirror of https://github.com/sinatra/sinatra synced 2023-03-27 23:18:01 -04:00

fix server execution in integration test

use exec in running command to allow started process to be killed
This commit is contained in:
lest 2011-11-14 20:16:59 +02:00
parent 893188b01d
commit afd27d81a7

View file

@ -13,7 +13,7 @@ class IntegrationTest < Test::Unit::TestCase
end
def command
cmd = []
cmd = ['exec']
if RbConfig.respond_to? :ruby
cmd << RbConfig.ruby.inspect
else