diff options
author | Yury Kotlyarov <yura@brainhouse.ru> | 2009-03-05 15:55:28 +0300 |
---|---|---|
committer | Pratik Naik <pratiknaik@gmail.com> | 2009-03-08 15:50:38 +0000 |
commit | 9b8cde41bc84466bf60fc4de6af54dbeb11cc0d6 (patch) | |
tree | 1c3d6aa2edefceb6b62499aba6b436f1d7c2fdae /actionpack | |
parent | 96eaeee4467a03cba3c4c30aeb6fc6afe545ae1d (diff) | |
download | rails-9b8cde41bc84466bf60fc4de6af54dbeb11cc0d6.tar.gz rails-9b8cde41bc84466bf60fc4de6af54dbeb11cc0d6.tar.bz2 rails-9b8cde41bc84466bf60fc4de6af54dbeb11cc0d6.zip |
Remove duplicate test [#2136 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/test/template/javascript_helper_test.rb | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/actionpack/test/template/javascript_helper_test.rb b/actionpack/test/template/javascript_helper_test.rb index d41111127b..d2fb24e36e 100644 --- a/actionpack/test/template/javascript_helper_test.rb +++ b/actionpack/test/template/javascript_helper_test.rb @@ -45,11 +45,6 @@ class JavaScriptHelperTest < ActionView::TestCase link_to_function("Greeting", "alert('Hello world!')", :href => 'http://example.com/') end - def test_link_to_function_with_href - assert_dom_equal %(<a href="http://example.com/" onclick="alert('Hello world!'); return false;">Greeting</a>), - link_to_function("Greeting", "alert('Hello world!')", :href => 'http://example.com/') - end - def test_button_to_function assert_dom_equal %(<input type="button" onclick="alert('Hello world!');" value="Greeting" />), button_to_function("Greeting", "alert('Hello world!')") |