aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test
diff options
context:
space:
mode:
authorVijay Dev <vijaydev.cse@gmail.com>2012-05-04 23:45:27 +0530
committerVijay Dev <vijaydev.cse@gmail.com>2012-05-04 23:45:27 +0530
commit319db7b189fe1f02268c99c9e9566312535c02ec (patch)
tree2e3e8d9d22e23a87b81b6d640bb904495db2d1c0 /actionpack/test
parent06631b8c6e41a61e0b50cf652d27c9144f7c343f (diff)
downloadrails-319db7b189fe1f02268c99c9e9566312535c02ec.tar.gz
rails-319db7b189fe1f02268c99c9e9566312535c02ec.tar.bz2
rails-319db7b189fe1f02268c99c9e9566312535c02ec.zip
update invalid partial error message as per 04202a3f8d66c0675eac41fbf63309f4be356e81
Diffstat (limited to 'actionpack/test')
-rw-r--r--actionpack/test/template/render_test.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/actionpack/test/template/render_test.rb b/actionpack/test/template/render_test.rb
index cdaca56ef2..e7f5f100bf 100644
--- a/actionpack/test/template/render_test.rb
+++ b/actionpack/test/template/render_test.rb
@@ -153,15 +153,15 @@ module RenderTestCases
def test_render_partial_with_invalid_name
e = assert_raises(ArgumentError) { @view.render(:partial => "test/200") }
assert_equal "The partial name (test/200) is not a valid Ruby identifier; " +
- "make sure your partial name starts with a letter or underscore, " +
- "and is followed by any combinations of letters, numbers, or underscores.", e.message
+ "make sure your partial name starts with a lowercase letter or underscore, " +
+ "and is followed by any combination of letters, numbers and underscores.", e.message
end
def test_render_partial_with_missing_filename
e = assert_raises(ArgumentError) { @view.render(:partial => "test/") }
assert_equal "The partial name (test/) is not a valid Ruby identifier; " +
- "make sure your partial name starts with a letter or underscore, " +
- "and is followed by any combinations of letters, numbers, or underscores.", e.message
+ "make sure your partial name starts with a lowercase letter or underscore, " +
+ "and is followed by any combination of letters, numbers and underscores.", e.message
end
def test_render_partial_with_incompatible_object