aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/new_base/content_type_test.rb
diff options
context:
space:
mode:
authorEmilio Tagua <miloops@gmail.com>2009-08-17 19:46:06 -0300
committerEmilio Tagua <miloops@gmail.com>2009-08-17 19:46:06 -0300
commitc01c8967a02537f132d437d5ae15332982119651 (patch)
tree76ed47f6bffd5fe1aa11c65cd32b222d881f43aa /actionpack/test/new_base/content_type_test.rb
parent770fca10fba68fa14308f33e923493e6f63bfa35 (diff)
parentccf28d2499d1b4e2aba41291eb800e0e02120923 (diff)
downloadrails-c01c8967a02537f132d437d5ae15332982119651.tar.gz
rails-c01c8967a02537f132d437d5ae15332982119651.tar.bz2
rails-c01c8967a02537f132d437d5ae15332982119651.zip
Merge commit 'rails/master'
Conflicts: activerecord/lib/active_record/calculations.rb
Diffstat (limited to 'actionpack/test/new_base/content_type_test.rb')
-rw-r--r--actionpack/test/new_base/content_type_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/test/new_base/content_type_test.rb b/actionpack/test/new_base/content_type_test.rb
index cfc03a3024..ceee508224 100644
--- a/actionpack/test/new_base/content_type_test.rb
+++ b/actionpack/test/new_base/content_type_test.rb
@@ -75,7 +75,7 @@ module ContentType
end
test "sets Content-Type as application/xml when rendering *.xml.erb" do
- get "/content_type/implied/i_am_xml_erb"
+ get "/content_type/implied/i_am_xml_erb", "format" => "xml"
assert_header "Content-Type", "application/xml; charset=utf-8"
end
@@ -87,7 +87,7 @@ module ContentType
end
test "sets Content-Type as application/xml when rendering *.xml.builder" do
- get "/content_type/implied/i_am_xml_builder"
+ get "/content_type/implied/i_am_xml_builder", "format" => "xml"
assert_header "Content-Type", "application/xml; charset=utf-8"
end