summaryrefslogtreecommitdiff
path: root/spec/policies
diff options
context:
space:
mode:
authorMichael Kozono <mkozono@gmail.com>2017-09-01 18:22:55 -0700
committerMichael Kozono <mkozono@gmail.com>2017-09-06 12:07:20 -0700
commitc2c6c4c69e40bca205d3c442cd7e2ce00383fb10 (patch)
tree48e9497d43e14d61d8698488e9ffce010e8b8fd2 /spec/policies
parent6c57734677746aa0e6695aa75990a85a7f95b50d (diff)
downloadgitlab-ce-c2c6c4c69e40bca205d3c442cd7e2ce00383fb10.tar.gz
Specify nested_groups specs
Diffstat (limited to 'spec/policies')
-rw-r--r--spec/policies/group_policy_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/policies/group_policy_spec.rb b/spec/policies/group_policy_spec.rb
index 9fa63982790..dcc7b7d5b9c 100644
--- a/spec/policies/group_policy_spec.rb
+++ b/spec/policies/group_policy_spec.rb
@@ -244,7 +244,7 @@ describe GroupPolicy do
end
describe 'change_share_with_group_lock' do
- context 'when the group has a parent' do
+ context 'when the group has a parent', :nested_groups do
let(:group) { create(:group, parent: parent) }
context 'when the parent share_with_group_lock is enabled' do