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 12ce9a2b9a
commit 52c214f7a3

@ -81,10 +81,6 @@ def setup
@rs = ::ActionDispatch::Routing::RouteSet.new
end
def teardown
@rs.clear!
end
def test_class_and_lambda_constraints
subdomain = Class.new {
def matches? request