From 8963eb80e71fb1932250f123367f6830b27fb025 Mon Sep 17 00:00:00 2001 From: Robert Date: Tue, 10 Oct 2017 22:31:59 +0200 Subject: Refs: #4709@0.75h; DONE: - Copied all node atts for ComplianceChecks - Migration of CompliancCheck#criticity int -> string TODO: - Check what to do with attribute ComplianceCheck#type --- spec/lib/compliance_control_set_copier_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spec/lib') diff --git a/spec/lib/compliance_control_set_copier_spec.rb b/spec/lib/compliance_control_set_copier_spec.rb index bdf2494d0..3cecc44d1 100644 --- a/spec/lib/compliance_control_set_copier_spec.rb +++ b/spec/lib/compliance_control_set_copier_spec.rb @@ -92,7 +92,7 @@ RSpec.describe ComplianceControlSetCopier do expect( cck_block.condition_attributes ).to eq(cc_block.condition_attributes) # Control/Check - att_names = %w{ type control_attributes code criticity comment origin_code } + att_names = %w{ control_attributes code criticity comment origin_code } expected = control.attributes.values_at(*att_names) << mk_name(control.name) actual = cck.attributes.values_at(*(att_names << 'name')) -- cgit v1.2.3