We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 16246f6 commit b91d16aCopy full SHA for b91d16a
spec/policies/comment_policy_spec.rb
@@ -22,11 +22,11 @@
22
expect(described_class).to permit(comment.user, comment)
23
end
24
25
- it 'grants no access to other learners' do
+ it 'does not grant access to other learners' do
26
expect(described_class).not_to permit(build_stubbed(:learner), comment)
27
28
29
- it 'grants no access to teachers not in the same study group' do
+ it 'does not grant access to teachers not in the same study group' do
30
expect(described_class).not_to permit(build_stubbed(:teacher), comment)
31
32
0 commit comments