aboutsummaryrefslogtreecommitdiffstats
path: root/actionview
diff options
context:
space:
mode:
authorVipul A M <vipulnsward@gmail.com>2013-09-05 10:43:57 +0530
committerVipul A M <vipulnsward@gmail.com>2013-09-05 10:43:57 +0530
commitbb69f1df8ba5fff3ed95d503e262b3f14ba64429 (patch)
treeb26cf9ac1b3846488c9aa09440042f02423c1995 /actionview
parent78befcfc287eae6dbfbd6287329b1cbcd9d77e3c (diff)
downloadrails-bb69f1df8ba5fff3ed95d503e262b3f14ba64429.tar.gz
rails-bb69f1df8ba5fff3ed95d503e262b3f14ba64429.tar.bz2
rails-bb69f1df8ba5fff3ed95d503e262b3f14ba64429.zip
Fix method name typos
Diffstat (limited to 'actionview')
-rw-r--r--actionview/test/template/form_collections_helper_test.rb2
-rw-r--r--actionview/test/template/resolver_patterns_test.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/actionview/test/template/form_collections_helper_test.rb b/actionview/test/template/form_collections_helper_test.rb
index bc9c21dfd3..ddfbce769e 100644
--- a/actionview/test/template/form_collections_helper_test.rb
+++ b/actionview/test/template/form_collections_helper_test.rb
@@ -38,7 +38,7 @@ class FormCollectionsHelperTest < ActionView::TestCase
assert_select 'label[for=user_active_no]', 'No'
end
- test 'colection radio should sanitize collection values for labels correctly' do
+ test 'collection radio should sanitize collection values for labels correctly' do
with_collection_radio_buttons :user, :name, ['$0.99', '$1.99'], :to_s, :to_s
assert_select 'label[for=user_name_099]', '$0.99'
assert_select 'label[for=user_name_199]', '$1.99'
diff --git a/actionview/test/template/resolver_patterns_test.rb b/actionview/test/template/resolver_patterns_test.rb
index 97b1bad055..575eb9bd28 100644
--- a/actionview/test/template/resolver_patterns_test.rb
+++ b/actionview/test/template/resolver_patterns_test.rb
@@ -20,7 +20,7 @@ class ResolverPatternsTest < ActiveSupport::TestCase
assert_equal [:html], templates.first.formats
end
- def test_should_return_all_templates_when_ambigous_pattern
+ def test_should_return_all_templates_when_ambiguous_pattern
templates = @resolver.find_all("another", "custom_pattern", false, {:locale => [], :formats => [:html], :handlers => [:erb]})
assert_equal 2, templates.size, "expected two templates"
assert_equal "Another template!", templates[0].source