search for: test_party_link_staff

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

2006 Feb 07
0
scope problems testing a helper method that calls link_to()
...trollerTest < Test::Unit::TestCase fixtures :party include ApplicationHelper def setup @controller = HelperController.new @request = ActionController::TestRequest.new @response = ActionController::TestResponse.new end # Test party_link function passing staff def test_party_link_staff link_data = @controller.party_link(party(:twburges)) end end ---------------------------------------------------------------------- Note that we''re not even getting to an assert_* in test_party_link_staff(), because, well, we tried, and we just get an error, so we culled the as...