diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2006-09-03 23:22:24 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2006-09-03 23:22:24 +0000 |
commit | 6d88a992b5e92c09527c7915a7e2c8da09acb95e (patch) | |
tree | 5dcb469f1c78ca87823e46e3cd88ead39285df02 /actionpack/test | |
parent | 5b6fb1356c672dc0cae157072d1340bb98f5b9f1 (diff) | |
download | rails-6d88a992b5e92c09527c7915a7e2c8da09acb95e.tar.gz rails-6d88a992b5e92c09527c7915a7e2c8da09acb95e.tar.bz2 rails-6d88a992b5e92c09527c7915a7e2c8da09acb95e.zip |
Added deprecation language for in_place_editor and auto_complete_field that both pieces will become plugins by Rails 2.0 [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4952 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/test')
-rw-r--r-- | actionpack/test/template/java_script_macros_helper_test.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/actionpack/test/template/java_script_macros_helper_test.rb b/actionpack/test/template/java_script_macros_helper_test.rb index 7d2d8eb68f..ac629b97da 100644 --- a/actionpack/test/template/java_script_macros_helper_test.rb +++ b/actionpack/test/template/java_script_macros_helper_test.rb @@ -57,6 +57,7 @@ class JavaScriptMacrosHelperTest < Test::Unit::TestCase def test_text_field_with_auto_complete assert_match %(<style type="text/css">), text_field_with_auto_complete(:message, :recipient) + assert_dom_equal %(<input id=\"message_recipient\" name=\"message[recipient]\" size=\"30\" type=\"text\" /><div class=\"auto_complete\" id=\"message_recipient_auto_complete\"></div><script type=\"text/javascript\">\n//<![CDATA[\nvar message_recipient_auto_completer = new Ajax.Autocompleter('message_recipient', 'message_recipient_auto_complete', 'http://www.example.com/auto_complete_for_message_recipient', {})\n//]]>\n</script>), text_field_with_auto_complete(:message, :recipient, {}, :skip_style => true) end |