summaryrefslogtreecommitdiff
path: root/spec/javascripts/groups
diff options
context:
space:
mode:
authorAlfredo Sumaran <alfredo@gitlab.com>2017-06-16 08:54:20 +0000
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2017-06-16 08:54:20 +0000
commita0f13d2f5269b4899e510414d321ad879f2ee27a (patch)
tree7e3fd0545f57b0522dcbfbe17a5e1fad8a97a0e5 /spec/javascripts/groups
parent459d8d65ad41ef3533ea5946c6c5bf38010856f3 (diff)
downloadgitlab-ce-a0f13d2f5269b4899e510414d321ad879f2ee27a.tar.gz
Expose correct path to group
Diffstat (limited to 'spec/javascripts/groups')
-rw-r--r--spec/javascripts/groups/mock_data.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/javascripts/groups/mock_data.js b/spec/javascripts/groups/mock_data.js
index 1c0ec7a97d0..b3f5d791b89 100644
--- a/spec/javascripts/groups/mock_data.js
+++ b/spec/javascripts/groups/mock_data.js
@@ -6,6 +6,7 @@ const group1 = {
visibility: 'public',
avatar_url: null,
web_url: 'http://localhost:3000/groups/level1',
+ group_path: '/level1',
full_name: 'level1',
full_path: 'level1',
parent_id: null,
@@ -28,6 +29,7 @@ const group14 = {
visibility: 'public',
avatar_url: null,
web_url: 'http://localhost:3000/groups/level1/level2/level3/level4',
+ group_path: '/level1/level2/level3/level4',
full_name: 'level1 / level2 / level3 / level4',
full_path: 'level1/level2/level3/level4',
parent_id: 1127,
@@ -49,6 +51,7 @@ const group2 = {
visibility: 'public',
avatar_url: null,
web_url: 'http://localhost:3000/groups/devops',
+ group_path: '/devops',
full_name: 'devops',
full_path: 'devops',
parent_id: null,
@@ -70,6 +73,7 @@ const group21 = {
visibility: 'public',
avatar_url: null,
web_url: 'http://localhost:3000/groups/devops/chef',
+ group_path: '/devops/chef',
full_name: 'devops / chef',
full_path: 'devops/chef',
parent_id: 1119,