Add image processing and generate blurhash for server thumbnail (#19348)
Remove separate server hero setting
This commit is contained in:
parent
7afc6a630c
commit
b04633a961
12 changed files with 50 additions and 24 deletions
|
@ -99,13 +99,6 @@ describe InstancePresenter do
|
|||
end
|
||||
end
|
||||
|
||||
describe '#hero' do
|
||||
it 'returns SiteUpload' do
|
||||
hero = Fabricate(:site_upload, var: 'hero')
|
||||
expect(instance_presenter.hero).to eq(hero)
|
||||
end
|
||||
end
|
||||
|
||||
describe '#mascot' do
|
||||
it 'returns SiteUpload' do
|
||||
mascot = Fabricate(:site_upload, var: 'mascot')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue