Add specs to test for_role scopes
This change adds test to cover the for_role scope. Also removes a duplicated spec which is already covered in the shared examples.
显示
- ee/spec/support/shared_examples/models/concerns/protected_ref_access_shared_examples.rb 23 个添加, 0 个删除...s/models/concerns/protected_ref_access_shared_examples.rb
- spec/support/shared_examples/models/concerns/protected_branch_access_shared_examples.rb 0 个添加, 30 个删除...odels/concerns/protected_branch_access_shared_examples.rb
- spec/support/shared_examples/models/concerns/protected_ref_access_shared_examples.rb 13 个添加, 0 个删除...s/models/concerns/protected_ref_access_shared_examples.rb
加载中
想要评论请 注册 或 登录