1
0
Fork 0
mirror of https://github.com/drapergem/draper synced 2023-03-27 23:21:17 -04:00

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

View file

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