about summary refs log tree commit diff
path: root/spec/policies/email_domain_block_policy_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/policies/email_domain_block_policy_spec.rb')
-rw-r--r--spec/policies/email_domain_block_policy_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/policies/email_domain_block_policy_spec.rb b/spec/policies/email_domain_block_policy_spec.rb
index 913075c3d..e7c455907 100644
--- a/spec/policies/email_domain_block_policy_spec.rb
+++ b/spec/policies/email_domain_block_policy_spec.rb
@@ -8,7 +8,7 @@ RSpec.describe EmailDomainBlockPolicy do
   let(:admin)   { Fabricate(:user, role: UserRole.find_by(name: 'Admin')).account }
   let(:john)    { Fabricate(:account) }
 
-  permissions :index?, :create?, :destroy? do
+  permissions :index?, :show?, :create?, :destroy? do
     context 'admin' do
       it 'permits' do
         expect(subject).to permit(admin, EmailDomainBlock)