codetriage/codetriage — pull request #176 by ck3g (2013-10-29 20:17:45+00:00)
Title: Test and refactoring of RepoSubscriptionsController

* Add tests for update and destroy actions
* Replace `where().first` with `find` to avoid errors
`undefined method destroy for NilClass` when subscription not found
* Move subscription finder into `before_action`