module ActionView::TestCase::Behavior
def setup_with_controller
def setup_with_controller controller_class = Class.new(ActionView::TestCase::TestController) @controller = controller_class.new @request = @controller.request @view_flow = ActionView::OutputFlow.new @output_buffer = ActionView::OutputBuffer.new @rendered = +"" test_case_instance = self controller_class.define_method(:_test_case) { test_case_instance } end