Update MetalTest for constant scoping change in 1.9
This commit is contained in:
parent
4869b74aee
commit
e9d6bcd19f
@ -20,8 +20,8 @@ def call(env)
|
||||
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user