Displaying 1 result from an estimated 1 matches for "shiftcommathree".
2008 Jan 10
4
Mocking and stubbing Rails'' association extensions
...eamable)
Before adding the extension, I just had @album.songs returning an
array of Song instances. The only thing I''ve thought of that would
work is temporarily extending Array itself to respond to #streamable,
but that feels ugly.
Thanks for any ideas,
Chris Kampmeier
http://www.shiftcommathree.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2417 bytes
Desc: not available
Url : http://rubyforge.org/pipermail/rspec-users/attachments/20080110/57baee23/attachment.bin