Add basic acceptance tests for the existing examples #157
Annotations
2 errors
Run tests:
spec/acceptance/x509_cert_spec.rb#L8
x509_cert example behaves like the example is expected to be certificate and have attributes {:subject => "C = CH, O = Example.com, CN = foo.example.com"}
Failure/Error: it { expect(x509_certificate('/tmp/foo.example.com.crt')).to be_certificate.and(have_attributes(subject: 'C = CH, O = Example.com, CN = foo.example.com')) }
expected X509 certificate "/tmp/foo.example.com.crt" to have attributes {:subject => "C = CH, O = Example.com, CN = foo.example.com"} but had attributes {:subject => "C=CH, O=Example.com, CN=foo.example.com"}
Diff for (have attributes {:subject => "C = CH, O = Example.com, CN = fo...):
@@ -1 +1 @@
-:subject => "C = CH, O = Example.com, CN = foo.example.com",
+:subject => "C=CH, O=Example.com, CN=foo.example.com",
Shared Example Group: "the example" called from ./spec/acceptance/x509_cert_spec.rb:6
|
Run tests
Process completed with exit code 1.
|
Loading