Namespace
Methods
C
S
T
Instance Public methods
call_controller(klass, action)
# File actionpack/test/controller/helper_test.rb, line 274
def call_controller(klass, action)
  klass.action(action).call(@request.env)
end
setup()
# File actionpack/test/controller/helper_test.rb, line 278
def setup
  super
  @request.action = 'index'
end
test_helper_in_a()
# File actionpack/test/controller/helper_test.rb, line 283
def test_helper_in_a
  assert_raise(ActionView::Template::Error) { call_controller(A, "index") }
end
test_helper_in_b()
# File actionpack/test/controller/helper_test.rb, line 287
def test_helper_in_b
  assert_equal 'B', call_controller(B, "index").last.body
end
test_helper_in_c()
# File actionpack/test/controller/helper_test.rb, line 291
def test_helper_in_c
  assert_equal 'C', call_controller(C, "index").last.body
end