Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

set `set` in the setup method

  • Loading branch information...
commit ab1e3228f8c5a071eb7fb5f8b577eb706248fe9a 1 parent 07f7f3a
@tenderlove tenderlove authored
Showing with 5 additions and 2 deletions.
  1. +5 −2 actionpack/test/controller/routing_test.rb
View
7 actionpack/test/controller/routing_test.rb
@@ -839,8 +839,11 @@ def test_routes_changed_correctly_after_clear
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
Please sign in to comment.
Something went wrong with that request. Please try again.