Displaying 1 result from an estimated 1 matches for "party_link".
Did you mean:
  partslink
  
2006 Feb 07
0
scope problems testing a helper method that calls link_to()
We''ve been having problems writing functional tests for helper methods
that rely on ActionView methods.  Here''s a specific example.
In application_helper.rb I''ve got a method called ''party_link()ยจ:
  def party_link(party)
    link_to party.full_name, { :controller => ''contacts'', 
                               :action => ''view'', 
                               :category => party.category_name, 
                               :id => party.id...