aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/template
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2006-02-12 21:19:49 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2006-02-12 21:19:49 +0000
commit5f2292ce39ae7dd41d45c8cdd15719c4845f2bc6 (patch)
treec7e850f4be5c400006268052b99c152d1f5779c7 /actionpack/test/template
parent022a8fc6815e7f091c411fe9e716e2b7cfdcf22b (diff)
downloadrails-5f2292ce39ae7dd41d45c8cdd15719c4845f2bc6.tar.gz
rails-5f2292ce39ae7dd41d45c8cdd15719c4845f2bc6.tar.bz2
rails-5f2292ce39ae7dd41d45c8cdd15719c4845f2bc6.zip
replace_element was renamed replace [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3590 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/test/template')
-rw-r--r--actionpack/test/template/prototype_helper_test.rb2
1 files changed, 1 insertions, 1 deletions
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", "<div id=\"element\"><p>This is a test</p></div>");',
- @generator.replace_element('element', '<div id="element"><p>This is a test</p></div>')
+ @generator.replace('element', '<div id="element"><p>This is a test</p></div>')
end
def test_remove