just use def setup
This commit is contained in:
parent
3afeb6b39b
commit
e68b72dbc4
|
@ -2414,7 +2414,8 @@ class TestAppendingRoutes < ActionDispatch::IntegrationTest
|
|||
lambda { |e| [ 200, { 'Content-Type' => 'text/plain' }, [resp] ] }
|
||||
end
|
||||
|
||||
setup do
|
||||
def setup
|
||||
super
|
||||
s = self
|
||||
@app = ActionDispatch::Routing::RouteSet.new
|
||||
@app.append do
|
||||
|
|
Loading…
Reference in New Issue