mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
caches should not be global, so no need to clear in the teardown
This commit is contained in:
@@ -81,10 +81,6 @@ class LegacyRouteSetTests < Test::Unit::TestCase
|
||||
@rs = ::ActionDispatch::Routing::RouteSet.new
|
||||
end
|
||||
|
||||
def teardown
|
||||
@rs.clear!
|
||||
end
|
||||
|
||||
def test_class_and_lambda_constraints
|
||||
subdomain = Class.new {
|
||||
def matches? request
|
||||
|
||||
Reference in New Issue
Block a user