diff options
author | Arun Agrawal <arunagw@gmail.com> | 2013-11-01 09:49:57 +0100 |
---|---|---|
committer | Arun Agrawal <arunagw@gmail.com> | 2013-11-01 09:49:57 +0100 |
commit | 816126862e040b787cf11c8143f326798803f67c (patch) | |
tree | b0db65713968230ece18f6959f173bc9fcff70d8 /actionview | |
parent | 1adcebdb582f1cd091c5472d864e7c97b99333d0 (diff) | |
download | rails-816126862e040b787cf11c8143f326798803f67c.tar.gz rails-816126862e040b787cf11c8143f326798803f67c.tar.bz2 rails-816126862e040b787cf11c8143f326798803f67c.zip |
Warnings removed for ruby trunk
Same as 4d4ff531b8807ee88a3fc46875c7e76f613956fb
Diffstat (limited to 'actionview')
-rw-r--r-- | actionview/test/template/render_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionview/test/template/render_test.rb b/actionview/test/template/render_test.rb index 928dfb092d..5a7d11f513 100644 --- a/actionview/test/template/render_test.rb +++ b/actionview/test/template/render_test.rb @@ -381,7 +381,7 @@ module RenderTestCases def test_render_ignores_templates_with_malformed_template_handlers ActiveSupport::Deprecation.silence do %w(malformed malformed.erb malformed.html.erb malformed.en.html.erb).each do |name| - assert File.exists?(File.expand_path("#{FIXTURE_LOAD_PATH}/test/malformed/#{name}~")), "Malformed file (#{name}~) which should be ignored does not exists" + assert File.exist?(File.expand_path("#{FIXTURE_LOAD_PATH}/test/malformed/#{name}~")), "Malformed file (#{name}~) which should be ignored does not exists" assert_raises(ActionView::MissingTemplate) { @view.render(:file => "test/malformed/#{name}") } end end |