aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller/new_base
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2009-10-15 17:36:54 -0700
committerJeremy Kemper <jeremy@bitsweat.net>2009-10-15 17:36:54 -0700
commit71f7e75d95c47e4283a7cac0a2f776abf0a11d0e (patch)
tree75a9b6825f9f81a9bec372af8db097b6ea022fc6 /actionpack/test/controller/new_base
parent2d7abe245e7a2b1717e48ef550e4083318fd7ec2 (diff)
parentef70ad5538c4ce02c4d31ef01a8db6b55c837571 (diff)
downloadrails-71f7e75d95c47e4283a7cac0a2f776abf0a11d0e.tar.gz
rails-71f7e75d95c47e4283a7cac0a2f776abf0a11d0e.tar.bz2
rails-71f7e75d95c47e4283a7cac0a2f776abf0a11d0e.zip
Merge branch 'master' into orchestra
Diffstat (limited to 'actionpack/test/controller/new_base')
-rw-r--r--actionpack/test/controller/new_base/content_negotiation_test.rb2
-rw-r--r--actionpack/test/controller/new_base/metal_test.rb4
2 files changed, 3 insertions, 3 deletions
diff --git a/actionpack/test/controller/new_base/content_negotiation_test.rb b/actionpack/test/controller/new_base/content_negotiation_test.rb
index 7b38a82f51..b98a22dfcc 100644
--- a/actionpack/test/controller/new_base/content_negotiation_test.rb
+++ b/actionpack/test/controller/new_base/content_negotiation_test.rb
@@ -5,7 +5,7 @@ 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 %>!"
+ "content_negotiation/basic/hello.html.erb" => "Hello world <%= request.formats.first.to_s %>!"
)]
end
diff --git a/actionpack/test/controller/new_base/metal_test.rb b/actionpack/test/controller/new_base/metal_test.rb
index e1d46b906e..ab61fd98ee 100644
--- a/actionpack/test/controller/new_base/metal_test.rb
+++ b/actionpack/test/controller/new_base/metal_test.rb
@@ -20,8 +20,8 @@ module MetalTest
class TestMiddleware < ActiveSupport::TestCase
def setup
@app = Rack::Builder.new do
- use MetalMiddleware
- run Endpoint.new
+ use MetalTest::MetalMiddleware
+ run MetalTest::Endpoint.new
end.to_app
end