diff options
author | Cezary Baginski <cezary.baginski@gmail.com> | 2009-04-02 11:58:29 -0500 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2009-04-02 11:58:29 -0500 |
commit | 44423126c6f6133a1d9cf1d0832b527e8711d40f (patch) | |
tree | 9d08651844ef31aa00a6937695e8a34169fac617 /actionpack/test/template/render_test.rb | |
parent | cad3e8b261a8d9551bc19a57007acf574d957548 (diff) | |
download | rails-44423126c6f6133a1d9cf1d0832b527e8711d40f.tar.gz rails-44423126c6f6133a1d9cf1d0832b527e8711d40f.tar.bz2 rails-44423126c6f6133a1d9cf1d0832b527e8711d40f.zip |
Additional template render test for backup files [#2367 state:resolved]
Signed-off-by: Joshua Peek <josh@joshpeek.com>
Diffstat (limited to 'actionpack/test/template/render_test.rb')
-rw-r--r-- | actionpack/test/template/render_test.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/actionpack/test/template/render_test.rb b/actionpack/test/template/render_test.rb index 9adf053b09..80fd549fd7 100644 --- a/actionpack/test/template/render_test.rb +++ b/actionpack/test/template/render_test.rb @@ -255,6 +255,12 @@ module RenderTestCases assert_equal Encoding::UTF_8, result.encoding end end + + def test_render_with_backup_files + result = @view.render :file => "/test/backup_files/item" + assert_equal "The correct item.erb was loaded.\n", result + end + end module TemplatesSetupTeardown |