diff options
Diffstat (limited to 'spec/models/clusters/agents/group_authorization_spec.rb')
-rw-r--r-- | spec/models/clusters/agents/group_authorization_spec.rb | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/spec/models/clusters/agents/group_authorization_spec.rb b/spec/models/clusters/agents/group_authorization_spec.rb deleted file mode 100644 index baeb8f5464e..00000000000 --- a/spec/models/clusters/agents/group_authorization_spec.rb +++ /dev/null @@ -1,16 +0,0 @@ -# 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']) } - - describe '#config_project' do - let(:record) { create(:agent_group_authorization) } - - it { expect(record.config_project).to eq(record.agent.project) } - end -end |