mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
specs to account for new default letter avatar location
This commit is contained in:
@@ -61,6 +61,7 @@ describe Onebox::Engine::DiscourseLocalOnebox do
|
||||
end
|
||||
|
||||
it "returns some onebox goodness if post exists and can be seen" do
|
||||
SiteSetting.external_system_avatars_enabled = false
|
||||
url = "#{topic.url}"
|
||||
Guardian.any_instance.stubs(:can_see?).returns(true)
|
||||
html = Onebox.preview(url).to_s
|
||||
|
||||
Reference in New Issue
Block a user