scoutapp/scout-api — pull request #4 by finack (2012-08-19 06:17:01+00:00)
Title: Add #destroy to Scout::Server

Method to allow a Scout::Server instance to be destroyed via the instance (vs class method).

I duplicated the test stubs for get and delete instead of adding a mock gem and just mocking out Scout::Server#destroy. Probably a little bit more brittle but not sure if it was worth adding a gem. Can change this to a mock if you like.