diff options
Diffstat (limited to 'actionpack/test')
-rw-r--r-- | actionpack/test/template/prototype_helper_test.rb | 2 |
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 |