Improve notification model
This commit is contained in:
parent
5abf64d647
commit
b14b5e3b44
5 changed files with 27 additions and 9 deletions
|
@ -13,8 +13,10 @@ RSpec.describe Admin::AccountsController, type: :controller do
|
|||
end
|
||||
|
||||
describe 'GET #show' do
|
||||
let(:account) { Fabricate(:account, username: 'bob') }
|
||||
|
||||
it 'returns http success' do
|
||||
get :show, params: { id: 1 }
|
||||
get :show, params: { id: account.id }
|
||||
expect(response).to have_http_status(:success)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue