[rspec-users] Scope and specing models
nemo7467 at gmail.com
Sun Aug 12 16:53:24 EDT 2007
Hello all, I'm currently having an issue with some specs, specifically scope
issues (probably more of a scope issue than a spec issue at this point)...
Here's the error:
ActiveRecord::AssociationTypeMismatch in 'A new User should know what role
Role expected, got NilClass
Here's the user.rb
The code is based off of RESTful authentication +
Ben Curtis' user roles in Rails Application:
Thanks for your help!
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rspec-users