summaryrefslogtreecommitdiff
path: root/spec/serializers/group_group_link_entity_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/serializers/group_group_link_entity_spec.rb')
-rw-r--r--spec/serializers/group_group_link_entity_spec.rb13
1 files changed, 13 insertions, 0 deletions
diff --git a/spec/serializers/group_group_link_entity_spec.rb b/spec/serializers/group_group_link_entity_spec.rb
new file mode 100644
index 00000000000..8384563e3e6
--- /dev/null
+++ b/spec/serializers/group_group_link_entity_spec.rb
@@ -0,0 +1,13 @@
+# frozen_string_literal: true
+
+require 'spec_helper'
+
+RSpec.describe GroupGroupLinkEntity do
+ include_context 'group_group_link'
+
+ subject(:json) { described_class.new(group_group_link).to_json }
+
+ it 'matches json schema' do
+ expect(json).to match_schema('entities/group_group_link')
+ end
+end