From 4c8942f9b8cffe6bf513c4766e8f4260c0550b61 Mon Sep 17 00:00:00 2001 From: Bob Van Landuyt Date: Wed, 13 Sep 2017 11:11:09 +0200 Subject: Replace `full_path`, `path` & `web_url` with a single `relative_path` --- spec/serializers/group_child_entity_spec.rb | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'spec/serializers/group_child_entity_spec.rb') 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 -- cgit v1.2.1