search for: f4587f0e

Displaying 1 result from an estimated 1 matches for "f4587f0e".

Did you mean: 54857f0e
2007 Aug 10
1
How to spec a model method
...e?(role) self.roles.count(:conditions => [''name = ?'', role]) > 0 end end How would I spec the last method? Thanks -- dp -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/rspec-users/attachments/20070810/f4587f0e/attachment.html