On Sun, Mar 19, 2006 at 02:07:43PM -0000, Alan Bullock
wrote:> if I write a generic helper that isn''t specific to any one rails
application
> or controller, what''s the best way to write tests for it? at the
moment, I
> test it by including it in a generic controller in a blank rails app, and
> writing functional tests for the controller. Is that the best approach?
There seems to have been some progress helper-testing:
http://nubyonrails.topfunky.com/articles/2006/04/07/test-your-helpers
/ludde
--
Ludvig Omholt
Sektionen f?r IT och media
Stockholms universitet
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: Digital signature
Url :
http://wrath.rubyonrails.org/pipermail/rails/attachments/20060412/17a231a2/attachment.bin