caches should not be global, so no need to clear in the teardown

This commit is contained in:
Aaron Patterson
2011-12-21 10:43:54 -07:00
parent e85484814c
commit 79778ffac5

View File

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