aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test
diff options
context:
space:
mode:
authorJoshua Peek <josh@joshpeek.com>2008-07-12 12:16:05 -0500
committerJoshua Peek <josh@joshpeek.com>2008-07-12 12:17:10 -0500
commit65fb2e76f2c4571b04458c7bf6a0c815972232ab (patch)
tree78ee1f4a767873d0de67a0fe60dc9a378fe207c5 /actionpack/test
parentb603de08825eec05f1b97d0f5d71462f3fa4c222 (diff)
downloadrails-65fb2e76f2c4571b04458c7bf6a0c815972232ab.tar.gz
rails-65fb2e76f2c4571b04458c7bf6a0c815972232ab.tar.bz2
rails-65fb2e76f2c4571b04458c7bf6a0c815972232ab.zip
Removed a few implementation specific view path tests
Diffstat (limited to 'actionpack/test')
-rw-r--r--actionpack/test/controller/view_paths_test.rb14
1 files changed, 0 insertions, 14 deletions
diff --git a/actionpack/test/controller/view_paths_test.rb b/actionpack/test/controller/view_paths_test.rb
index 9401c87d10..b1c19384aa 100644
--- a/actionpack/test/controller/view_paths_test.rb
+++ b/actionpack/test/controller/view_paths_test.rb
@@ -146,18 +146,4 @@ class ViewLoadPathsTest < Test::Unit::TestCase
assert_nothing_raised { C.view_paths << 'c/path' }
assert_equal ['c/path'], C.view_paths
end
-
- def test_find_template_file_for_path
- assert_equal "test/hello_world.erb", @controller.view_paths.find_template_file_for_path("test/hello_world.erb").to_s
- assert_equal "test/hello.builder", @controller.view_paths.find_template_file_for_path("test/hello.builder").to_s
- assert_equal nil, @controller.view_paths.find_template_file_for_path("test/missing.erb")
- end
-
- def test_view_paths_find_template_file_for_path
- assert_equal "test/formatted_html_erb.html.erb", @controller.view_paths.find_template_file_for_path("test/formatted_html_erb.html").to_s
- assert_equal "test/formatted_xml_erb.xml.erb", @controller.view_paths.find_template_file_for_path("test/formatted_xml_erb.xml").to_s
- assert_equal "test/hello_world.erb", @controller.view_paths.find_template_file_for_path("test/hello_world.html").to_s
- assert_equal "test/hello_world.erb", @controller.view_paths.find_template_file_for_path("test/hello_world.xml").to_s
- assert_equal nil, @controller.view_paths.find_template_file_for_path("test/missing.html")
- end
end