http://dev.rubyonrails.org/ticket/3775
I'm hoping someone will pop up and tell me I'm simply daft with this
ticket (and queries on IRC, and a prior post to the main Rails list),
but I can't get a peep out of anyone so far.
The question is, how do I write a simple test for a helper method which
calls ActionView methods itself. E.g., a foo_link() helper which calls
link_to(). I noticed that Typo doesn't test these, though it seems to
have tests for everything else.
Am I missing something, or is there a gap here in Rails' testability?
Best,
Rick
--
http://www.rickbradley.com MUPRN: 485
| conversion Spam is
random email haiku | all about prior consent
| for delivery.
_______________________________________________
Rails-core mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails-core