2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-06 09:10:25 +08:00

Revert "FIX: Use Excon to do its own stubbing"

This reverts commit 80af54460a.
This commit is contained in:
Guo Xiang Tan 2017-05-26 13:04:25 +08:00
parent 144b810d0e
commit f8f1548fd4
2 changed files with 13 additions and 15 deletions

View file

@ -124,12 +124,7 @@ Spork.prefork do
Discourse.clear_readonly!
I18n.locale = :en
Excon.defaults[:mock] = true
end
config.after(:each) do
WebMock.reset!
Excon.stubs.clear
end
class TestCurrentUserProvider < Auth::DefaultCurrentUserProvider