summaryrefslogtreecommitdiff
path: root/spec/controllers/groups_controller_spec.rb
diff options
context:
space:
mode:
authorYorick Peterse <yorickpeterse@gmail.com>2017-05-03 14:49:37 +0200
committerYorick Peterse <yorickpeterse@gmail.com>2017-05-17 20:53:16 +0200
commit34974258bc3f745c86512319231bad47232fe007 (patch)
treea6b9b7d7a80282f77471302f0970daced62e0455 /spec/controllers/groups_controller_spec.rb
parentac382b5682dc2d5eea750313c59fb2581af13326 (diff)
downloadgitlab-ce-34974258bc3f745c86512319231bad47232fe007.tar.gz
Hide nested group UI/API support for MySQL
This hides/disables some UI elements and API parameters related to nested groups when MySQL is used, since nested groups are not supported for MySQL.
Diffstat (limited to 'spec/controllers/groups_controller_spec.rb')
-rw-r--r--spec/controllers/groups_controller_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/controllers/groups_controller_spec.rb b/spec/controllers/groups_controller_spec.rb
index 15dae3231ca..a5477a48cf2 100644
--- a/spec/controllers/groups_controller_spec.rb
+++ b/spec/controllers/groups_controller_spec.rb
@@ -26,7 +26,7 @@ describe GroupsController do
end
end
- describe 'GET #subgroups' do
+ describe 'GET #subgroups', :nested_groups do
let!(:public_subgroup) { create(:group, :public, parent: group) }
let!(:private_subgroup) { create(:group, :private, parent: group) }