aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2008-06-08 21:21:54 -0700
committerJeremy Kemper <jeremy@bitsweat.net>2008-06-08 21:21:54 -0700
commit057768cd2c8541f9c466131cb6c77f13ce12204d (patch)
tree75b8a4514f90ad7a856f6f0e23b3f783e3d3cd86 /actionpack/test
parentc88f2b5e23b0cb6c1a3b3687958f45d518414041 (diff)
downloadrails-057768cd2c8541f9c466131cb6c77f13ce12204d.tar.gz
rails-057768cd2c8541f9c466131cb6c77f13ce12204d.tar.bz2
rails-057768cd2c8541f9c466131cb6c77f13ce12204d.zip
Process view paths passed to AV::Base#initialize instead of raising.
Diffstat (limited to 'actionpack/test')
-rw-r--r--actionpack/test/template/template_finder_test.rb6
1 files changed, 0 insertions, 6 deletions
diff --git a/actionpack/test/template/template_finder_test.rb b/actionpack/test/template/template_finder_test.rb
index 3d6baff5fb..d6aac87b13 100644
--- a/actionpack/test/template/template_finder_test.rb
+++ b/actionpack/test/template/template_finder_test.rb
@@ -11,12 +11,6 @@ class TemplateFinderTest < Test::Unit::TestCase
@finder = ActionView::TemplateFinder.new(@template, LOAD_PATH_ROOT)
end
- def test_should_raise_exception_for_unprocessed_view_path
- assert_raises ActionView::TemplateFinder::InvalidViewPath do
- ActionView::TemplateFinder.new(@template, File.dirname(__FILE__))
- end
- end
-
def test_should_cache_file_extension_properly
assert_equal ["builder", "erb", "rhtml", "rjs", "rxml", "mab"].sort,
ActionView::TemplateFinder.file_extension_cache[LOAD_PATH_ROOT].values.flatten.uniq.sort