Displaying 1 result from an estimated 1 matches for "1d29f70f".
Did you mean:
1d29a0f
2007 Oct 18
4
Mocking models provided in Rails plugins
Hey folks,
How do I mock a model that is given to me by a Rails plugin? I''m
trying to mock Session from the restful_authentication plugin but I
get a number of errors telling me RSpec doesn''t recognize Session.
NameError in ''SessionsController handling GET /sessions/new should be
successful''
uninitialized constant Session
An example of my usage: