spec/command/init_spec.rb in conjur-cli-4.20.1 vs spec/command/init_spec.rb in conjur-cli-4.21.0
- old
+ new
@@ -42,10 +42,10 @@
describe Conjur::Command::Init do
describe ".get_certificate" do
it "returns the right certificate from github" do
fingerprint, certificate = Conjur::Command::Init.get_certificate('github.com:443')
expect(fingerprint).to eq(GITHUB_FP)
- expect(certificate.strip).to eq(GITHUB_CERT.strip)
+ expect(certificate.strip).to include(GITHUB_CERT.strip)
end
end
context logged_in: false do
before {