Fix integration specs

Rails 3.2.10 seems not to like us killing the server process.
This commit is contained in:
Andrew Haines 2013-01-07 12:26:51 +00:00
parent 1d0bce1bd5
commit 24fac57489
1 changed files with 4 additions and 3 deletions

View File

@ -49,7 +49,8 @@ class DummyApp
yield
Process.kill('KILL', out.pid)
Process.kill("KILL", out.pid)
File.delete("tmp/pids/server.pid")
end
end
end
@ -57,11 +58,11 @@ class DummyApp
private
def root
File.expand_path('../../dummy', __FILE__)
File.expand_path("../../dummy", __FILE__)
end
def localhost
'127.0.0.1'
"127.0.0.1"
end
def port