Displaying 1 result from an estimated 1 matches for "twburg".
Did you mean:
burg
2006 Feb 07
0
scope problems testing a helper method that calls link_to()
...pplicationHelper
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 assertions
from the code I''m sending (so as no...