Skip to content

Commit

Permalink
Merge pull request #319 from cben/spec-authentications-unvalidated
Browse files Browse the repository at this point in the history
MonitoringManager spec: update to explicitly start from unvalidated auth
  • Loading branch information
agrare committed Jan 3, 2019
2 parents ff9a568 + 1abf645 commit f635666
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -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,
Expand Down

0 comments on commit f635666

Please sign in to comment.