Methods
- C
- D
- N
- R
- S
- T
Instance Public methods
create()
Link
no_op()
Link
redirect_to_different_controller()
Link
redirect_to_same_controller()
Link
render_body()
Link
render_raw_post()
Link
reset_the_session()
Link
set_flash()
Link
set_flash_now()
Link
set_session()
Link
test_assigns()
Link
test_file_upload()
Link
test_format()
Link
test_html_output()
Link
# File actionpack/test/controller/test_test.rb, line 61 def test_html_output render :text => <<HTML <html> <body> <a href="/"><img src="/images/button.png" /></a> <div id="foo"> <ul> <li class="item">hello</li> <li class="item">goodbye</li> </ul> </div> <div id="bar"> <form action="/somewhere"> Name: <input type="text" name="person[name]" id="person_name" /> </form> </div> </body> </html> HTML end
test_only_one_param()
Link
test_params()
Link
test_protocol()
Link
test_query_string()
Link
test_remote_addr()
Link
test_send_file()
Link
test_uri()
Link
test_xml_output()
Link
# File actionpack/test/controller/test_test.rb, line 82 def test_xml_output response.content_type = "application/xml" render :text => <<XML <?xml version="1.0" encoding="UTF-8"?> <root> <area>area is an empty tag in HTML, raising an error if not in xml mode</area> </root> XML end