Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Kozono <mkozono@gmail.com>2017-09-02 04:22:55 +0300
committerMichael Kozono <mkozono@gmail.com>2017-09-06 22:07:20 +0300
commitc2c6c4c69e40bca205d3c442cd7e2ce00383fb10 (patch)
tree48e9497d43e14d61d8698488e9ffce010e8b8fd2 /spec/policies
parent6c57734677746aa0e6695aa75990a85a7f95b50d (diff)
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