Misc spec coverage for Admin::
area controllers (#25282)
This commit is contained in:
parent
eb6f8181e1
commit
1e243e2df7
6 changed files with 277 additions and 0 deletions
|
@ -41,6 +41,16 @@ describe Admin::StatusesController do
|
|||
end
|
||||
end
|
||||
|
||||
describe 'GET #show' do
|
||||
before do
|
||||
get :show, params: { account_id: account.id, id: status.id }
|
||||
end
|
||||
|
||||
it 'returns http success' do
|
||||
expect(response).to have_http_status(200)
|
||||
end
|
||||
end
|
||||
|
||||
describe 'POST #batch' do
|
||||
before do
|
||||
post :batch, params: { :account_id => account.id, action => '', :admin_status_batch_action => { status_ids: status_ids } }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue