Rename named_scope :public for Project to something else
|Assignee:||Eric Davis||% Done:|
As the word public is reserved in ruby, the attempt to mock/stub the model Project fails, since the line that introduces a new public method fails due to the fact that word 'public' is redefined by the named_scope.
I suspect you may meet the case while setting up the shoulda.
Renamed Project#public named_scope so it will not override Ruby's public method