Refactor #spawn_processes into #start(name)

When passed nil (aka ALL_PROCESSES) #start will start all processes in the
Procfile as per existing behavior
This commit is contained in:
R. Tyler Croy
2012-04-10 20:35:59 -07:00
parent de62d0655e
commit 48f764e347
2 changed files with 21 additions and 14 deletions
+1 -1
View File
@@ -57,7 +57,7 @@ describe "Foreman::Engine", :fakefs do
stub(Process).fork
any_instance_of(Foreman::Engine) do |engine|
stub(engine).info
stub(engine).spawn_processes
stub(engine).start
stub(engine).watch_for_termination
end
end