We're missing a test that checks that named routes aren't reloaded on AC::Integration::Session#reset! if they're already configured. Via heckle (it flipped the unless to an if at that branch):
The following mutations didn't cause test failures:
def reset!
@status = @path = @headers = nil
@result = @status_message = nil
@https = false
@cookies = { }
@controller = @request = @response = nil
self.host = "www.example.com"
self.remote_addr = "127.0.0.1"
self.accept = "text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5"
if @named_routes_configured then
klass = class << self
self
end
Routing::Routes.named_routes.install(klass)
klass.send(:public, *Routing::Routes.named_routes.helpers)
@named_routes_configured = true
end
end