From c2c6c4c69e40bca205d3c442cd7e2ce00383fb10 Mon Sep 17 00:00:00 2001 From: Michael Kozono Date: Fri, 1 Sep 2017 18:22:55 -0700 Subject: Specify nested_groups specs --- spec/policies/group_policy_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spec/policies') 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 -- cgit v1.2.3