debian-mirror-gitlab/spec/serializers/group_group_link_entity_spec.rb

14 lines
301 B
Ruby
Raw Normal View History

2020-11-24 15:15:51 +05:30
# 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