Welcome to mirror list, hosted at ThFree Co, Russian Federation.

group_authorization_spec.rb « agents « clusters « models « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 2a99fb26e3f824b9282ab3bee7057f777fda2610 (plain)
1
2
3
4
5
6
7
8
9
10
# frozen_string_literal: true

require 'spec_helper'

RSpec.describe Clusters::Agents::GroupAuthorization do
  it { is_expected.to belong_to(:agent).class_name('Clusters::Agent').required }
  it { is_expected.to belong_to(:group).class_name('::Group').required }

  it { expect(described_class).to validate_jsonb_schema(['config']) }
end