class HelperPathsTest

Public Instance Methods

test_helpers_paths_priority() click to toggle source
# File actionpack/test/controller/helper_test.rb, line 78
def test_helpers_paths_priority
  responses = HelpersPathsController.action(:index).call(ActionController::TestRequest::DEFAULT_ENV.dup)

  # helpers1_pack was given as a second path, so pack1_helper should be
  # included as the second one
  assert_equal "pack1", responses.last.body
end