just use def setup

This commit is contained in:
Aaron Patterson 2011-12-21 14:22:38 -07:00
parent 3afeb6b39b
commit e68b72dbc4
1 changed files with 2 additions and 1 deletions

View File

@ -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