Skip to content

Commit f9c2d54

Browse files
akofinkdLobatog
authored andcommitted
Update datastream file fixtures (#13)
Signed-off-by: Andrew Kofink <akofink@redhat.com>
1 parent 69a2d8a commit f9c2d54

File tree

2 files changed

+255442
-180544
lines changed

2 files changed

+255442
-180544
lines changed

test/datastream_test.rb

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,21 @@ class DatastreamTest < MiniTest::Test
55
context 'scap content' do
66
should 'be able to parse profiles' do
77
parser = create_parser('ssg-rhel7-ds.xml')
8-
profile_ids = [
9-
"xccdf_org.ssgproject.content_profile_ospp",
8+
profile_ref_ids = [
109
"xccdf_org.ssgproject.content_profile_standard",
11-
"xccdf_org.ssgproject.content_profile_cjis",
10+
"xccdf_org.ssgproject.content_profile_nist-800-171-cui",
11+
"xccdf_org.ssgproject.content_profile_rht-ccp",
1212
"xccdf_org.ssgproject.content_profile_C2S",
13+
"xccdf_org.ssgproject.content_profile_cjis",
1314
"xccdf_org.ssgproject.content_profile_hipaa",
14-
"xccdf_org.ssgproject.content_profile_nist-800-171-cui",
15-
"xccdf_org.ssgproject.content_profile_stig-rhel7-disa",
15+
"xccdf_org.ssgproject.content_profile_ospp",
1616
"xccdf_org.ssgproject.content_profile_ospp42",
1717
"xccdf_org.ssgproject.content_profile_pci-dss",
18-
"xccdf_org.ssgproject.content_profile_rht-ccp"
18+
"xccdf_org.ssgproject.content_profile_stig-rhel7-disa",
19+
"xccdf_org.ssgproject.content_profile_rhelh-vpp",
20+
"xccdf_org.ssgproject.content_profile_pci-dss_centric"
1921
]
20-
assert_equal(profile_ids, parser.benchmark.profiles.map(&:id))
22+
assert_equal(profile_ref_ids, parser.profiles.map { |profile| profile.id })
2123
end
2224
end
2325

0 commit comments

Comments
 (0)