aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYves Senn <yves.senn@gmail.com>2013-09-05 01:03:21 -0700
committerYves Senn <yves.senn@gmail.com>2013-09-05 01:03:21 -0700
commit70433070a013f221af20895bb2e8abe6c303faff (patch)
tree9be3b8226cbbeeeea7c6e5f54189356b30934dc7
parent390aa7a0751ef00ff17e429587ca20833acf051d (diff)
parentbb69f1df8ba5fff3ed95d503e262b3f14ba64429 (diff)
downloadrails-70433070a013f221af20895bb2e8abe6c303faff.tar.gz
rails-70433070a013f221af20895bb2e8abe6c303faff.tar.bz2
rails-70433070a013f221af20895bb2e8abe6c303faff.zip
Merge pull request #12139 from vipulnsward/typos_av
Fix method name typos
-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