Skip to content
Browse files

Removed a few implementation specific view path tests

  • Loading branch information...
1 parent b603de0 commit 65fb2e76f2c4571b04458c7bf6a0c815972232ab @josh josh committed Jul 12, 2008
Showing with 0 additions and 14 deletions.
  1. +0 −14 actionpack/test/controller/view_paths_test.rb
View
14 actionpack/test/controller/view_paths_test.rb
@@ -146,18 +146,4 @@ class C < ActionController::Base; end
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

0 comments on commit 65fb2e7

Please sign in to comment.
Something went wrong with that request. Please try again.