debian-mirror-gitlab/spec/serializers/group_group_link_serializer_spec.rb
2020-11-24 15:15:51 +05:30

13 lines
327 B
Ruby

# frozen_string_literal: true
require 'spec_helper'
RSpec.describe 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_group_links')
end
end