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:
parent
1d0bce1bd5
commit
24fac57489
1 changed files with 4 additions and 3 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue