tests: fix HTTP requests failing due to webmock (#3039).

Fixes failures in source tests caused by Webmock disabling non-stubbed
HTTP requests by default.

https://github.com/bblimke/webmock#real-requests-to-network-can-be-allowed-or-disabled
This commit is contained in:
evazion
2017-07-01 11:49:08 -05:00
parent 1c06ae9f81
commit f8ed7d4357

View File

@@ -30,6 +30,7 @@ class ActiveSupport::TestCase
setup do
mock_popular_search_service!
mock_missed_search_service!
WebMock.allow_net_connect!
end
teardown do