diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-03-14 12:08:45 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-03-14 12:08:45 +0300 |
commit | 6f9218ac84f0de0ebfddf2d4fbd79db881b2d46a (patch) | |
tree | 77315600c53ab077c7effd3ddf3f630dff6ea081 /spec/models/clusters | |
parent | 3612694ce3931fe7fd225d9c2df42dbd513121df (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/models/clusters')
-rw-r--r-- | spec/models/clusters/applications/knative_spec.rb | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/spec/models/clusters/applications/knative_spec.rb b/spec/models/clusters/applications/knative_spec.rb index f6b13f4a93f..a95cb672d9e 100644 --- a/spec/models/clusters/applications/knative_spec.rb +++ b/spec/models/clusters/applications/knative_spec.rb @@ -17,10 +17,6 @@ RSpec.describe Clusters::Applications::Knative do include_examples 'cluster application version specs', :clusters_applications_knative include_examples 'cluster application initial status specs' - describe 'associations' do - it { is_expected.to have_one(:serverless_domain_cluster).class_name('::Serverless::DomainCluster').with_foreign_key('clusters_applications_knative_id').inverse_of(:knative) } - end - describe 'default values' do it { expect(subject.version).to eq(described_class::VERSION) } end @@ -249,12 +245,4 @@ RSpec.describe Clusters::Applications::Knative do expect(subject.find_available_domain(domain.id)).to eq(domain) end end - - describe '#pages_domain' do - let!(:sdc) { create(:serverless_domain_cluster, knative: knative) } - - it 'returns the the associated pages domain' do - expect(knative.reload.pages_domain).to eq(sdc.pages_domain) - end - end end |