Fix blurhash and autoplay not working on public pages (#11585)
This commit is contained in:
parent
70da6d6630
commit
e5cee8062f
13 changed files with 32 additions and 63 deletions
|
@ -27,16 +27,6 @@ RSpec.describe HomeController, type: :controller do
|
|||
subject
|
||||
expect(assigns(:body_classes)).to eq 'app-body'
|
||||
end
|
||||
|
||||
it 'assigns @initial_state_json' do
|
||||
subject
|
||||
initial_state_json = json_str_to_hash(assigns(:initial_state_json))
|
||||
expect(initial_state_json[:meta]).to_not be_nil
|
||||
expect(initial_state_json[:compose]).to_not be_nil
|
||||
expect(initial_state_json[:accounts]).to_not be_nil
|
||||
expect(initial_state_json[:settings]).to_not be_nil
|
||||
expect(initial_state_json[:media_attachments]).to_not be_nil
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue