search for: foo_link

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

Did you mean: foo_int
2006 Feb 09
2
#3775 - testing helpers which use ActionView methods
...e 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 | co...