Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Van Landuyt <bob@vanlanduyt.co>2017-09-13 12:11:09 +0300
committerBob Van Landuyt <bob@vanlanduyt.co>2017-10-04 23:49:41 +0300
commit4c8942f9b8cffe6bf513c4766e8f4260c0550b61 (patch)
treeebb6f5f71cc01e8ccf745ace395095c3651f761b /spec/serializers
parent1fb49b8729b126360e9852b184c0ba63c330c4b5 (diff)
Replace `full_path`, `path` & `web_url` with a single `relative_path`
Diffstat (limited to 'spec/serializers')
-rw-r--r--spec/serializers/group_child_entity_spec.rb6
1 files changed, 2 insertions, 4 deletions
diff --git a/spec/serializers/group_child_entity_spec.rb b/spec/serializers/group_child_entity_spec.rb
index 9ddaf8f6469..54a1b1846e1 100644
--- a/spec/serializers/group_child_entity_spec.rb
+++ b/spec/serializers/group_child_entity_spec.rb
@@ -16,19 +16,17 @@ describe GroupChildEntity do
end
%w[id
- path
full_name
- full_path
avatar_url
name
description
- web_url
visibility
type
can_edit
visibility
edit_path
- permission].each do |attribute|
+ permission
+ relative_path].each do |attribute|
it "includes #{attribute}" do
expect(json[attribute.to_sym]).to be_present
end