Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Ian Eiloart
Sympl
Commits
eadea060
Commit
eadea060
authored
May 16, 2016
by
Patrick J Cherry
Browse files
common: Fixed SSL test, looking for a String in an array of CertificateSets
parent
a3b9463e
Changes
1
Hide whitespace changes
Inline
Side-by-side
common/test.d/tc_ssl.rb
View file @
eadea060
...
@@ -808,7 +808,7 @@ class SSLTest < Test::Unit::TestCase
...
@@ -808,7 +808,7 @@ class SSLTest < Test::Unit::TestCase
available_sets
=
@domain
.
ssl_available_sets
available_sets
=
@domain
.
ssl_available_sets
assert
(
!
available_sets
.
include?
(
"current"
),
"The avaialble sets should not include the 'current' symlink"
)
assert
(
!
available_sets
.
map
(
&
:name
).
include?
(
"current"
),
"The avaialble sets should not include the 'current' symlink"
)
missing_sets
=
(
%w(1 2)
-
available_sets
.
map
(
&
:name
))
missing_sets
=
(
%w(1 2)
-
available_sets
.
map
(
&
:name
))
assert
(
missing_sets
.
empty?
,
"Some sets were missing:
#{
missing_sets
.
join
(
", "
)
}
"
)
assert
(
missing_sets
.
empty?
,
"Some sets were missing:
#{
missing_sets
.
join
(
", "
)
}
"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment