From 5f2292ce39ae7dd41d45c8cdd15719c4845f2bc6 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Sun, 12 Feb 2006 21:19:49 +0000 Subject: replace_element was renamed replace [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3590 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- actionpack/test/template/prototype_helper_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actionpack/test') diff --git a/actionpack/test/template/prototype_helper_test.rb b/actionpack/test/template/prototype_helper_test.rb index 6ce8380a69..fc8961f02a 100644 --- a/actionpack/test/template/prototype_helper_test.rb +++ b/actionpack/test/template/prototype_helper_test.rb @@ -173,7 +173,7 @@ class JavaScriptGeneratorTest < Test::Unit::TestCase def test_replace_element_with_string assert_equal 'Element.replace("element", "

This is a test

");', - @generator.replace_element('element', '

This is a test

') + @generator.replace('element', '

This is a test

') end def test_remove -- cgit v1.2.3