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