applicake/doorkeeper — pull request #128 by petergoldstein (2012-08-03 20:56:17+00:00)
Title: Application Owner Support with changes to get tests running green

These are the changes submitted by @kris-at-tout in this [pull](https://github.com/applicake/doorkeeper/pull/78), along with a few minor tweaks to get tests running green.

My tweaks were minor:

i) Changing some stubbing in the tests
ii) Updating the use of Doorkeeper.config in a test to ensure that the ORM value was properly passed in
iii) Adding a Mongoid compatible alternative to mock_model for use in the application owner tests.

See my additional comments in @kris-at-tout 's original pull request [here](https://github.com/applicake/doorkeeper/pull/78)