aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller/new_base/content_type_test.rb
diff options
context:
space:
mode:
authorJoshua Peek <josh@joshpeek.com>2009-10-03 23:18:32 -0500
committerJoshua Peek <josh@joshpeek.com>2009-10-03 23:18:32 -0500
commit61411f2aeb29edba2d8cd2008020044799ea3d61 (patch)
treed2e6c4b5a30e27a9b8739ed6a050c30e7be70d20 /actionpack/test/controller/new_base/content_type_test.rb
parent8287a112c92aff73d45536f0942d9dc7ba107bd7 (diff)
downloadrails-61411f2aeb29edba2d8cd2008020044799ea3d61.tar.gz
rails-61411f2aeb29edba2d8cd2008020044799ea3d61.tar.bz2
rails-61411f2aeb29edba2d8cd2008020044799ea3d61.zip
Redraw default routes on all internal integration tests. We don't need SimpleRouteCase anymore
Diffstat (limited to 'actionpack/test/controller/new_base/content_type_test.rb')
-rw-r--r--actionpack/test/controller/new_base/content_type_test.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/actionpack/test/controller/new_base/content_type_test.rb b/actionpack/test/controller/new_base/content_type_test.rb
index 898d0bb9f3..0ff5552b08 100644
--- a/actionpack/test/controller/new_base/content_type_test.rb
+++ b/actionpack/test/controller/new_base/content_type_test.rb
@@ -44,7 +44,7 @@ module ContentType
end
end
- class ExplicitContentTypeTest < SimpleRouteCase
+ class ExplicitContentTypeTest < Rack::TestCase
test "default response is HTML and UTF8" do
get "/content_type/base"
@@ -67,7 +67,7 @@ module ContentType
end
end
- class ImpliedContentTypeTest < SimpleRouteCase
+ class ImpliedContentTypeTest < Rack::TestCase
test "sets Content-Type as text/html when rendering *.html.erb" do
get "/content_type/implied/i_am_html_erb"
@@ -93,7 +93,7 @@ module ContentType
end
end
- class ExplicitCharsetTest < SimpleRouteCase
+ class ExplicitCharsetTest < Rack::TestCase
test "setting the charset of the response directly on the response object" do
get "/content_type/charset/set_on_response_obj"