From 1def3f0073d94564ab46a02a6c567a6c091a4e96 Mon Sep 17 00:00:00 2001 From: Jeremy Kemper Date: Tue, 13 Mar 2007 05:24:10 +0000 Subject: Deprecation: remove deprecated update_element_function, start_form_tag, and end_form_tag. Use RJS and form_tag instead. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6409 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- actionpack/test/controller/capture_test.rb | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) (limited to 'actionpack/test/controller') diff --git a/actionpack/test/controller/capture_test.rb b/actionpack/test/controller/capture_test.rb index 300bdc3a84..42ec2568da 100644 --- a/actionpack/test/controller/capture_test.rb +++ b/actionpack/test/controller/capture_test.rb @@ -64,19 +64,8 @@ class CaptureTest < Test::Unit::TestCase assert_equal expected_content_for_output, @response.body end - def test_update_element_with_capture - assert_deprecated 'update_element_function' do - get :update_element_with_capture - end - assert_equal( - "" + - "\n\n$('status').innerHTML = '\\n You bought something!\\n';", - @response.body.strip - ) - end - private - def expected_content_for_output - "Putting stuff in the title!\n\nGreat stuff!" - end + def expected_content_for_output + "Putting stuff in the title!\n\nGreat stuff!" + end end -- cgit v1.2.3