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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user