Commit a3514ce7 authored by Kamil Trzcinski's avatar Kamil Trzcinski

Enable nested group test only when nested groups are supported

parent eb24eea9
...@@ -57,6 +57,7 @@ describe Namespace, models: true do ...@@ -57,6 +57,7 @@ describe Namespace, models: true do
end end
end end
if Group.supports_nested_groups?
context 'when license is applied to parent group' do context 'when license is applied to parent group' do
let(:child_group) { create :group, parent: group } let(:child_group) { create :group, parent: group }
...@@ -65,6 +66,7 @@ describe Namespace, models: true do ...@@ -65,6 +66,7 @@ describe Namespace, models: true do
end end
end end
end end
end
context 'when feature not available' do context 'when feature not available' do
let(:feature) { :deploy_board } let(:feature) { :deploy_board }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment