mirror of
https://github.com/discourse/discourse.git
synced 2025-05-21 18:12:32 +08:00
FIX: Reset the WebMock after before every test
This commit is contained in:
@ -18,14 +18,6 @@ describe FinalDestination do
|
||||
}
|
||||
end
|
||||
|
||||
before do
|
||||
WebMock.reset!
|
||||
end
|
||||
|
||||
after do
|
||||
WebMock.reset!
|
||||
end
|
||||
|
||||
let(:doc_response) do
|
||||
{ body: "<html>document</html>",
|
||||
headers: { "Content-Type" => "text/html" } }
|
||||
|
Reference in New Issue
Block a user