summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorBob Van Landuyt <bob@vanlanduyt.co>2017-09-13 11:11:09 +0200
committerBob Van Landuyt <bob@vanlanduyt.co>2017-10-04 22:49:41 +0200
commit4c8942f9b8cffe6bf513c4766e8f4260c0550b61 (patch)
treeebb6f5f71cc01e8ccf745ace395095c3651f761b /spec
parent1fb49b8729b126360e9852b184c0ba63c330c4b5 (diff)
downloadgitlab-ce-4c8942f9b8cffe6bf513c4766e8f4260c0550b61.tar.gz
Replace `full_path`, `path` & `web_url` with a single `relative_path`
Diffstat (limited to 'spec')
-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