mirror of
https://github.com/mastodon/mastodon.git
synced 2024-08-20 21:08:15 -07:00
Remove instance check in admin/domain_blocks controller spec
This commit is contained in:
parent
8be2b64621
commit
80f43f6bb8
1 changed files with 0 additions and 2 deletions
|
@ -13,7 +13,6 @@ RSpec.describe Admin::DomainBlocksController do
|
|||
it 'assigns a new domain block' do
|
||||
get :new
|
||||
|
||||
expect(assigns(:domain_block)).to be_instance_of(DomainBlock)
|
||||
expect(response).to have_http_status(200)
|
||||
end
|
||||
end
|
||||
|
@ -171,7 +170,6 @@ RSpec.describe Admin::DomainBlocksController do
|
|||
it 'returns http success' do
|
||||
get :edit, params: { id: domain_block.id }
|
||||
|
||||
expect(assigns(:domain_block)).to be_instance_of(DomainBlock)
|
||||
expect(response).to have_http_status(200)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue