about summary refs log tree commit diff
path: root/spec/controllers/admin/domain_blocks_controller_spec.rb
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2022-03-09 08:52:32 +0100
committerGitHub <noreply@github.com>2022-03-09 08:52:32 +0100
commitbd53dd521064b12261b82105624cf5f8b9ca9d69 (patch)
treedde9c499734f74303776705810e76dad668e7d7c /spec/controllers/admin/domain_blocks_controller_spec.rb
parent318d34d528d8d4f9165bf9c1f873da68aadb90a2 (diff)
Change design of federation pages in admin UI (#17704)
* Change design of federation pages in admin UI

* Fix query performance in instance media attachments measure

* Fix reblogs being included in instance languages dimension
Diffstat (limited to 'spec/controllers/admin/domain_blocks_controller_spec.rb')
-rw-r--r--spec/controllers/admin/domain_blocks_controller_spec.rb9
1 files changed, 0 insertions, 9 deletions
diff --git a/spec/controllers/admin/domain_blocks_controller_spec.rb b/spec/controllers/admin/domain_blocks_controller_spec.rb
index fb23658c0..ecc79292b 100644
--- a/spec/controllers/admin/domain_blocks_controller_spec.rb
+++ b/spec/controllers/admin/domain_blocks_controller_spec.rb
@@ -16,15 +16,6 @@ RSpec.describe Admin::DomainBlocksController, type: :controller do
     end
   end
 
-  describe 'GET #show' do
-    it 'returns http success' do
-      domain_block = Fabricate(:domain_block)
-      get :show, params: { id: domain_block.id }
-
-      expect(response).to have_http_status(200)
-    end
-  end
-
   describe 'POST #create' do
     it 'blocks the domain when succeeded to save' do
       allow(DomainBlockWorker).to receive(:perform_async).and_return(true)