search for: helpercontrollertest

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

2006 Feb 07
0
scope problems testing a helper method that calls link_to()
...9; require ''action_view'' module LoginSystem def unprotected?() true; end # drop login protection for this test controller end # dummy controller to drive helper tests class HelperController < ActionController::Base include ApplicationHelper include ActionView end class HelperControllerTest < 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_...