mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Update MetalTest for constant scoping change in 1.9
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user