diff --git a/spec/models/manageiq/providers/kubernetes/monitoring_manager_spec.rb b/spec/models/manageiq/providers/kubernetes/monitoring_manager_spec.rb index b9c845be7d..2c5eb53ae3 100644 --- a/spec/models/manageiq/providers/kubernetes/monitoring_manager_spec.rb +++ b/spec/models/manageiq/providers/kubernetes/monitoring_manager_spec.rb @@ -1,17 +1,19 @@ describe ManageIQ::Providers::Kubernetes::MonitoringManager do let(:default_endpoint) { FactoryGirl.create(:endpoint, :role => 'default', :hostname => 'host') } - let(:default_authentication) { FactoryGirl.create(:authentication, :authtype => 'bearer') } + let(:default_authentication) { FactoryGirl.create(:authentication, :authtype => 'bearer', :status => nil) } let(:prometheus_authentication) do FactoryGirl.create( :authentication, :authtype => 'prometheus_alerts', :auth_key => '_', + :status => nil, ) end let(:container_manager) do FactoryGirl.create( :ems_kubernetes, + :with_unvalidated_authentication, :endpoints => [ default_endpoint, prometheus_alerts_endpoint,