mirror of
https://github.com/discourse/discourse.git
synced 2025-05-30 07:11:34 +08:00
specs to account for new default letter avatar location
This commit is contained in:
@ -27,6 +27,8 @@ describe TopicsController do
|
||||
let!(:p2) { Fabricate(:post, topic: topic, user:user )}
|
||||
|
||||
it "returns the JSON in the format our wordpress plugin needs" do
|
||||
SiteSetting.external_system_avatars_enabled = false
|
||||
|
||||
xhr :get, :wordpress, topic_id: topic.id, best: 3
|
||||
expect(response).to be_success
|
||||
json = ::JSON.parse(response.body)
|
||||
|
Reference in New Issue
Block a user