Speed-up in Settings::
controllers specs (#27808)
This commit is contained in:
parent
ac62b995ef
commit
9dc3ce878b
14 changed files with 65 additions and 216 deletions
|
@ -17,11 +17,8 @@ describe Settings::AliasesController do
|
|||
get :index
|
||||
end
|
||||
|
||||
it 'returns http success' do
|
||||
it 'returns http success with private cache control headers', :aggregate_failures do
|
||||
expect(response).to have_http_status(200)
|
||||
end
|
||||
|
||||
it 'returns private cache control headers' do
|
||||
expect(response.headers['Cache-Control']).to include('private, no-store')
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue