aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/template/javascript_helper_test.rb
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2011-04-03 22:28:56 +0200
committerXavier Noria <fxn@hashref.com>2011-04-13 13:24:33 +0200
commit86d6cdd7f7734b4dcfd7792c0326f14b45d5af53 (patch)
treeac68f6217e2cfc507e1164f72de74e616e358187 /actionpack/test/template/javascript_helper_test.rb
parent06ae5769e1d61b9b0e8e3dedd63244804c8130f5 (diff)
downloadrails-86d6cdd7f7734b4dcfd7792c0326f14b45d5af53.tar.gz
rails-86d6cdd7f7734b4dcfd7792c0326f14b45d5af53.tar.bz2
rails-86d6cdd7f7734b4dcfd7792c0326f14b45d5af53.zip
fixes the name of a test
Diffstat (limited to 'actionpack/test/template/javascript_helper_test.rb')
-rw-r--r--actionpack/test/template/javascript_helper_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/template/javascript_helper_test.rb b/actionpack/test/template/javascript_helper_test.rb
index e8500b2d9d..538e0e9874 100644
--- a/actionpack/test/template/javascript_helper_test.rb
+++ b/actionpack/test/template/javascript_helper_test.rb
@@ -55,7 +55,7 @@ class JavaScriptHelperTest < ActionView::TestCase
link_to_function("Greeting", "alert('Hello world!')", :onclick => "confirm('Sanity!')")
end
- def test_finction_with_href
+ def test_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