module ActionDispatch::Integration::Runner

def reset!

in a single test case.
Reset the current session. This is useful for testing multiple sessions
def reset!
  @integration_session = create_session(app)
end