From 018b79dd36d054d87fdc408d38dc9ac7f1b1500d Mon Sep 17 00:00:00 2001 From: Joshua Peek Date: Sat, 3 Oct 2009 21:05:51 -0500 Subject: File extra test folders into controller, dispatch, or template --- actionpack/test/new_base/content_negotiation_test.rb | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 actionpack/test/new_base/content_negotiation_test.rb (limited to 'actionpack/test/new_base/content_negotiation_test.rb') diff --git a/actionpack/test/new_base/content_negotiation_test.rb b/actionpack/test/new_base/content_negotiation_test.rb deleted file mode 100644 index c43cb677f8..0000000000 --- a/actionpack/test/new_base/content_negotiation_test.rb +++ /dev/null @@ -1,18 +0,0 @@ -require 'abstract_unit' - -module ContentNegotiation - - # This has no layout and it works - class BasicController < ActionController::Base - self.view_paths = [ActionView::FixtureResolver.new( - "content_negotiation/basic/hello.html.erb" => "Hello world <%= request.formats %>!" - )] - end - - class TestContentNegotiation < SimpleRouteCase - test "A */* Accept header will return HTML" do - get "/content_negotiation/basic/hello", {}, "HTTP_ACCEPT" => "*/*" - assert_body "Hello world */*!" - end - end -end -- cgit v1.2.3