diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2006-02-12 21:31:28 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2006-02-12 21:31:28 +0000 |
commit | 35b74de7703515cf93da2d3e850702f58a2a6f48 (patch) | |
tree | ce9d927efbeea1eeae08a9ed2604fe38cdcb3741 /actionpack/test/template | |
parent | 5f2292ce39ae7dd41d45c8cdd15719c4845f2bc6 (diff) | |
download | rails-35b74de7703515cf93da2d3e850702f58a2a6f48.tar.gz rails-35b74de7703515cf93da2d3e850702f58a2a6f48.tar.bz2 rails-35b74de7703515cf93da2d3e850702f58a2a6f48.zip |
Use real assigns instead of a method call [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3591 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/test/template')
-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 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 |