summaryrefslogtreecommitdiff
path: root/spec/requests
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2017-02-14 16:03:24 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2017-02-14 18:38:20 +0200
commit6676b4f0dd05ffb6071a3329cca4459e7cddcdc3 (patch)
treebd6fa5fa8b337f38406a0bf5376e19db44fd1eaa /spec/requests
parentc48539463ff2250058fbfa9d1811977f01313b7c (diff)
downloadgitlab-ce-6676b4f0dd05ffb6071a3329cca4459e7cddcdc3.tar.gz
Use Namespace#full_path instead of Namespace#path
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'spec/requests')
-rw-r--r--spec/requests/api/projects_spec.rb1
-rw-r--r--spec/requests/api/v3/projects_spec.rb1
2 files changed, 2 insertions, 0 deletions
diff --git a/spec/requests/api/projects_spec.rb b/spec/requests/api/projects_spec.rb
index ac0bbec44e0..5ea89c7e27c 100644
--- a/spec/requests/api/projects_spec.rb
+++ b/spec/requests/api/projects_spec.rb
@@ -639,6 +639,7 @@ describe API::Projects, api: true do
'name' => user.namespace.name,
'path' => user.namespace.path,
'kind' => user.namespace.kind,
+ 'full_path' => user.namespace.full_path,
})
end
diff --git a/spec/requests/api/v3/projects_spec.rb b/spec/requests/api/v3/projects_spec.rb
index a495122bba7..36d99d80e79 100644
--- a/spec/requests/api/v3/projects_spec.rb
+++ b/spec/requests/api/v3/projects_spec.rb
@@ -682,6 +682,7 @@ describe API::V3::Projects, api: true do
'name' => user.namespace.name,
'path' => user.namespace.path,
'kind' => user.namespace.kind,
+ 'full_path' => user.namespace.full_path,
})
end