aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/test/controller/routing_test.rb7
1 files changed, 5 insertions, 2 deletions
diff --git a/actionpack/test/controller/routing_test.rb b/actionpack/test/controller/routing_test.rb
index bd5b4e092f..9543787555 100644
--- a/actionpack/test/controller/routing_test.rb
+++ b/actionpack/test/controller/routing_test.rb
@@ -839,8 +839,11 @@ end
class RouteSetTest < ActiveSupport::TestCase
include RoutingTestHelpers
- def set
- @set ||= ROUTING::RouteSet.new
+ attr_reader :set
+
+ def setup
+ super
+ @set = ROUTING::RouteSet.new
end
def request