1
0
Fork 0
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:
Matt Jankowski 2024-04-30 13:06:32 -04:00
parent 8be2b64621
commit 80f43f6bb8

View file

@ -13,7 +13,6 @@ RSpec.describe Admin::DomainBlocksController do
it 'assigns a new domain block' do it 'assigns a new domain block' do
get :new get :new
expect(assigns(:domain_block)).to be_instance_of(DomainBlock)
expect(response).to have_http_status(200) expect(response).to have_http_status(200)
end end
end end
@ -171,7 +170,6 @@ RSpec.describe Admin::DomainBlocksController do
it 'returns http success' do it 'returns http success' do
get :edit, params: { id: domain_block.id } get :edit, params: { id: domain_block.id }
expect(assigns(:domain_block)).to be_instance_of(DomainBlock)
expect(response).to have_http_status(200) expect(response).to have_http_status(200)
end end
end end