Permalink
Browse files

Merge pull request #12139 from vipulnsward/typos_av

Fix method name typos
  • Loading branch information...
senny committed Sep 5, 2013
1 parent 1872409 commit 79ffe9cab70029153e200c9a44b90f1d44798e35
@@ -38,7 +38,7 @@ def with_collection_check_boxes(*args, &block)
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'
@@ -20,7 +20,7 @@ def test_should_return_template_for_declared_path
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

0 comments on commit 79ffe9c

Please sign in to comment.