test/integration_tests/apache2_tests.rb in passenger-4.0.5 vs test/integration_tests/apache2_tests.rb in passenger-4.0.6
- old
+ new
@@ -456,11 +456,11 @@
instance = AdminTools::ServerInstance.list.first
# Wait until the server has processed the session close event.
sleep 0.1
- processes = instance.connect(:passenger_status) do
- instance.processes
+ processes = instance.connect(:role => :passenger_status) do |client|
+ instance.processes(client)
end
processes.should have(1).item
processes[0].group.name.should == @mycook.full_app_root + "#default"
processes[0].processed.should == 1
end