Fix caching logic with regards to Accept-Language, Cookie, and Signature (#24604)
This commit is contained in:
@ -218,8 +218,8 @@ RSpec.describe AccountsController, type: :controller do
|
||||
expect(response.media_type).to eq 'application/activity+json'
|
||||
end
|
||||
|
||||
it 'returns public Cache-Control header' do
|
||||
expect(response.headers['Cache-Control']).to include 'public'
|
||||
it 'returns private Cache-Control header' do
|
||||
expect(response.headers['Cache-Control']).to include 'private'
|
||||
end
|
||||
|
||||
it 'renders account' do
|
||||
|
Reference in New Issue
Block a user