2023-03-10 12:33:30 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
require 'rails_helper'
|
|
|
|
|
|
|
|
describe CustomCssController do
|
|
|
|
render_views
|
|
|
|
|
|
|
|
describe 'GET #show' do
|
2023-04-19 15:07:29 +01:00
|
|
|
before do
|
2023-03-10 12:33:30 +00:00
|
|
|
get :show
|
2023-04-19 15:07:29 +01:00
|
|
|
end
|
|
|
|
|
|
|
|
it 'returns http success' do
|
2023-03-10 12:33:30 +00:00
|
|
|
expect(response).to have_http_status(200)
|
|
|
|
end
|
2023-04-19 15:07:29 +01:00
|
|
|
|
2024-02-27 11:50:21 +00:00
|
|
|
it_behaves_like 'cacheable response'
|
2023-03-10 12:33:30 +00:00
|
|
|
end
|
|
|
|
end
|