cloudfoundry/vcap — pull request #135 by richardcloudsoft (2011-10-20 10:38:03+00:00)
Title: Health manager specs

These commits add some rspec tests to the health_manager. It verifies that the health manager:

* detects instances that are down, and sends a START request over NATS
* detects extra instances, and send a STOP request over NATS
* updates its internal state when receiving heartbeat messages
* restarts instances that exit unexpectedly

This increases the code coverage of health_manager.rb to around 50%.