DEV: Update cache lifetime in user_avatars spec (#19297)
Followup to badd64ceee
This commit is contained in:
parent
badd64ceee
commit
f8aec41678
|
@ -124,7 +124,7 @@ RSpec.describe UserAvatarsController do
|
|||
|
||||
expect(response.status).to eq(302)
|
||||
expect(response.location).to eq("https://s3-cdn.example.com/optimized/path")
|
||||
expect(response.headers["Cache-Control"]).to eq('max-age=31556952, public, immutable')
|
||||
expect(response.headers["Cache-Control"]).to eq('max-age=3600, public, immutable')
|
||||
end
|
||||
|
||||
it 'serves new version for old urls' do
|
||||
|
|
Loading…
Reference in New Issue