mirror of
https://github.com/discourse/discourse.git
synced 2025-01-18 12:02:46 +08:00
fix failing spec when HUB_BASE_URL is present
This commit is contained in:
parent
d166c38ab7
commit
0724948878
|
@ -87,7 +87,7 @@ describe DiscourseHub do
|
||||||
end
|
end
|
||||||
|
|
||||||
it 'should log correctly on error' do
|
it 'should log correctly on error' do
|
||||||
stub_request(:get, (ENV['HUB_BASE_URL'] || "http://local.hub:3000/api/test")).
|
stub_request(:get, (ENV['HUB_BASE_URL'] || "http://local.hub:3000/api") + '/test').
|
||||||
to_return(status: 500, body: "", headers: {})
|
to_return(status: 500, body: "", headers: {})
|
||||||
|
|
||||||
DiscourseHub.collection_action(:get, '/test')
|
DiscourseHub.collection_action(:get, '/test')
|
||||||
|
|
Loading…
Reference in New Issue
Block a user