Skip to content

Commit

Permalink
Spec: remove pended spec with outdated setup
Browse files Browse the repository at this point in the history
Setup for this spec uses outdated options which no longer have any
impact, and the description of the spec no longer seems relevant.
  • Loading branch information
aramprice committed Dec 16, 2024
1 parent b54d9ac commit a01af97
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/spec/integration/uaa/login_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -75,14 +75,6 @@
expect(output).to match(/not logged in/)
end

it 'fails to log in with a useful message when cli fails to validate server and no cert was specified' do
pending "FIXME: doesn't seem like bosh requires ca-cert to be provided when doing a log-in command. Maybe makes sense since it's needed for basically everything else."
bosh_runner.run("env #{current_sandbox.director_url}")
bosh_runner.run_interactively('log-in', no_ca_cert: true, include_credentials: false) do |runner|
expect(runner).to have_output 'Invalid SSL Cert. Use --ca-cert option when setting target to specify SSL certificate'
end
end

it 'it fails to log in if the director cert is invalid' do
invalid_ca_cert = <<CERT
-----BEGIN CERTIFICATE-----
Expand Down

0 comments on commit a01af97

Please sign in to comment.