Add CN support to certificates

This commit is contained in:
Martin Lensment 2015-05-21 17:06:21 +03:00
parent e2809cc285
commit 9ad66c0999
12 changed files with 144 additions and 133 deletions

View file

@ -11,7 +11,9 @@ describe Certificate do
it 'should not be valid' do
@certificate.valid?
@certificate.errors.full_messages.should match_array([
"CRT or CSR must be present"
"Common name is missing",
"Interface is missing",
"Md5 is missing"
])
end