• Stan Hu's avatar
    Fix failing EE builds due to blacklisted Web connections · d89a0220
    Stan Hu authored
    If unicorn_spec.rb were run before Elasticsearch specs, it would
    disable all outbound network connections, which would prevent the
    latter from being able to communicate with Elasticsearch in CI. To
    fix this, we restore the original WebMock settings after finishing
    the spec.
    
    Closes #2507
    d89a0220
webmock.rb 371 Bytes