spec/rails/auth/x509/certificate_spec.rb in rails-auth-0.3.0 vs spec/rails/auth/x509/certificate_spec.rb in rails-auth-0.4.0
- old
+ new
@@ -22,6 +22,10 @@
end
it "knows its #ou" do
expect(example_certificate.ou).to eq example_ou
end
+
+ it "knows its attributes" do
+ expect(example_certificate.attributes).to eq(cn: example_cn, ou: example_ou)
+ end
end