You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
314 B

  1. # frozen_string_literal: true
  2. require 'rails_helper'
  3. describe Admin::ActionLogsController, type: :controller do
  4. describe 'GET #index' do
  5. it 'returns 200' do
  6. sign_in Fabricate(:user, admin: true)
  7. get :index, params: { page: 1 }
  8. expect(response).to have_http_status(200)
  9. end
  10. end
  11. end