1
0

dashboard_controller_spec.rb 292 B

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