mirror of
https://github.com/internetee/registry.git
synced 2025-08-05 09:21:43 +02:00
Add CN support to certificates
This commit is contained in:
parent
e2809cc285
commit
9ad66c0999
12 changed files with 144 additions and 133 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue