diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2011-12-21 14:22:38 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2011-12-21 14:22:38 -0700 |
commit | e68b72dbc4d121e05f70cc56c7b4dfb7e314b8b9 (patch) | |
tree | 3c9f72ee4661cc8817324add89d9a6c2d21a5375 /actionpack/test | |
parent | 3afeb6b39b9e36e3edb3bf02d111b6c61e04a795 (diff) | |
download | rails-e68b72dbc4d121e05f70cc56c7b4dfb7e314b8b9.tar.gz rails-e68b72dbc4d121e05f70cc56c7b4dfb7e314b8b9.tar.bz2 rails-e68b72dbc4d121e05f70cc56c7b4dfb7e314b8b9.zip |
just use def setup
Diffstat (limited to 'actionpack/test')
-rw-r--r-- | actionpack/test/dispatch/routing_test.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/actionpack/test/dispatch/routing_test.rb b/actionpack/test/dispatch/routing_test.rb index 5325f81364..d5c1586600 100644 --- a/actionpack/test/dispatch/routing_test.rb +++ b/actionpack/test/dispatch/routing_test.rb @@ -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 |