aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/new_base/base_test.rb
diff options
context:
space:
mode:
authorYehuda Katz + Carl Lerche <ykatz+clerche@engineyard.com>2009-04-27 18:21:26 -0700
committerYehuda Katz + Carl Lerche <ykatz+clerche@engineyard.com>2009-05-01 17:31:01 -0700
commit8a4e77b4200946ba4ed42fe5927a7400a846063a (patch)
tree4d61ebd026f32bd9af32c93f93b3071232b1d8ee /actionpack/test/new_base/base_test.rb
parent34509777fd375e5bc529f21ca66cf63263c2cf64 (diff)
downloadrails-8a4e77b4200946ba4ed42fe5927a7400a846063a.tar.gz
rails-8a4e77b4200946ba4ed42fe5927a7400a846063a.tar.bz2
rails-8a4e77b4200946ba4ed42fe5927a7400a846063a.zip
OMG, a lot of work
Diffstat (limited to 'actionpack/test/new_base/base_test.rb')
-rw-r--r--actionpack/test/new_base/base_test.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/actionpack/test/new_base/base_test.rb b/actionpack/test/new_base/base_test.rb
index 4f46cb6492..b0e87b4f5b 100644
--- a/actionpack/test/new_base/base_test.rb
+++ b/actionpack/test/new_base/base_test.rb
@@ -34,11 +34,11 @@ module HappyPath
end
test "sets the content type" do
- assert_content_type Mime::HTML
+ assert_content_type "text/html; charset=utf-8"
end
test "sets the content length" do
- assert_header "Content-Length", 7
+ assert_header "Content-Length", "7"
end
end
@@ -52,7 +52,7 @@ module HappyPath
end
test "setting the body manually sets the content length" do
- assert_header "Content-Length", 7
+ assert_header "Content-Length", "7"
end
end
@@ -65,7 +65,7 @@ module HappyPath
end
test "updating the response body updates the content length" do
- assert_header "Content-Length", 8
+ assert_header "Content-Length", "8"
end
end
end