diff options
Diffstat (limited to 'spec/policies')
-rw-r--r-- | spec/policies/issuable_policy_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/policies/issuable_policy_spec.rb b/spec/policies/issuable_policy_spec.rb index 9a862db992f..2bedcf60539 100644 --- a/spec/policies/issuable_policy_spec.rb +++ b/spec/policies/issuable_policy_spec.rb @@ -156,8 +156,8 @@ RSpec.describe IssuablePolicy, models: true do expect(permissions(guest, issue)).to be_disallowed(:create_timelog) end - it 'does not allow reading confidential notes' do - expect(permissions(guest, issue)).to be_disallowed(:read_confidential_notes) + it 'does not allow reading internal notes' do + expect(permissions(guest, issue)).to be_disallowed(:read_internal_note) end end |