Improved admin UI
This commit is contained in:
parent
668013265c
commit
76ec907993
23 changed files with 259 additions and 49 deletions
14
spec/controllers/admin/domain_blocks_controller_spec.rb
Normal file
14
spec/controllers/admin/domain_blocks_controller_spec.rb
Normal file
|
@ -0,0 +1,14 @@
|
|||
require 'rails_helper'
|
||||
|
||||
RSpec.describe Admin::DomainBlocksController, type: :controller do
|
||||
before do
|
||||
sign_in Fabricate(:user, admin: true), scope: :user
|
||||
end
|
||||
|
||||
describe 'GET #index' do
|
||||
it 'returns http success' do
|
||||
get :index
|
||||
expect(response).to have_http_status(:success)
|
||||
end
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue