summaryrefslogtreecommitdiff
path: root/spec/serializers/group_link/group_group_link_serializer_spec.rb
blob: a4ca32dae7b3be6e067ca906b55436098b6048e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# frozen_string_literal: true

require 'spec_helper'

RSpec.describe GroupLink::GroupGroupLinkSerializer do
  include_context 'group_group_link'

  subject(:json) { described_class.new.represent(shared_group.shared_with_group_links).to_json }

  it 'matches json schema' do
    expect(json).to match_schema('group_link/group_group_links')
  end
end