Closed danielorf closed 5 years ago
The last remaining piece is to fill in the trust_chain_verify method. This will follow in another PR shortly.
Regarding the mirrors/registries specs failing, you can remove expect(page).not_to have_content("Certificate")
lines that it's causing that. No big deal.
Regarding the mirrors/registries specs failing, you can remove
expect(page).not_to have_content("Certificate")
lines that it's causing that. No big deal.
I had to change a few tests (mirrors_feature_spec and registries_feature_spec) because they were looking for "Certificate" on the page which contains the word twice in the sidebar.
I'm fine with Valid Key: true
and true
being green but the other case should be black.
@vitoravelino All of your comments should be addressed now.
I am stripping out the expect(page).to have_http_status(:success)
from the tests where this comes first. There appears to be a race condition where Capybara sometimes detects the redirect (30X) and not the following successful http status (20X).
Screenshot of current state with a sample cert uploaded for Velum:
Moving this work to a feature branch (feature_external_certs) to better manage commits from multiple users and keep history clean.
Added External Certs controller to Settings; Added associated views, routes and models Added ext_cert_feature_spec.rb, added example certs/keys to spec/fixtures