diff options
author | Robert Speicher <rspeicher@gmail.com> | 2017-08-22 19:55:49 +0300 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2017-08-22 19:57:08 +0300 |
commit | 800c9bf37d1ed57c5f072c4864a2a22250c5959b (patch) | |
tree | ae69c8e219ef1f94cf47e0a5198c225609f46ac6 /spec/services/groups/create_service_spec.rb | |
parent | 7965f4e7c3826093a74d4909233dc7fb9c0aac97 (diff) |
Add `:nested_groups` metadata to two subgroup-related specs
Prevents these from failing on MySQL.
Closes #36811 and #36812.
Diffstat (limited to 'spec/services/groups/create_service_spec.rb')
-rw-r--r-- | spec/services/groups/create_service_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/services/groups/create_service_spec.rb b/spec/services/groups/create_service_spec.rb index 6973e7ff990..10dda45d2a1 100644 --- a/spec/services/groups/create_service_spec.rb +++ b/spec/services/groups/create_service_spec.rb @@ -22,7 +22,7 @@ describe Groups::CreateService, '#execute' do end end - describe 'creating subgroup' do + describe 'creating subgroup', :nested_groups do let!(:group) { create(:group) } let!(:service) { described_class.new(user, group_params.merge(parent_id: group.id)) } |