aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/template/prototype_helper_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'actionpack/test/template/prototype_helper_test.rb')
-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 fc8961f02a..326363dc58 100644
--- a/actionpack/test/template/prototype_helper_test.rb
+++ b/actionpack/test/template/prototype_helper_test.rb
@@ -238,7 +238,7 @@ Element.update("baz", "<p>This is a test</p>");
end
def test_element_proxy_assignment
- @generator['hello'].assign :width, 400
+ @generator['hello'].width = 400
assert_equal %($('hello').width = 400;), @generator.to_s
end