]> cat aescling's git repositories - mastodon.git/blob - spec/controllers/admin/action_logs_controller_spec.rb
Add spec for Admin::ActionLogsController#index (#9522)
[mastodon.git] / spec / controllers / admin / action_logs_controller_spec.rb
1 # frozen_string_literal: true
2
3 require 'rails_helper'
4
5 describe Admin::ActionLogsController, type: :controller do
6 describe 'GET #index' do
7 it 'returns 200' do
8 sign_in Fabricate(:user, admin: true)
9 get :index, params: { page: 1 }
10
11 expect(response).to have_http_status(200)
12 end
13 end
14 end
This page took 0.078208 seconds and 4 git commands to generate.