aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcedricnjanga2017-11-06 12:12:07 +0100
committercedricnjanga2017-11-06 12:12:07 +0100
commit94d240c3ae5511591452aa1a43c90811b0c571dd (patch)
tree8776bf180dcb969527dac9856b0192613a477023
parenta62f5cb8421ef32e93162af67ce71794ef8e20ad (diff)
downloadchouette-core-94d240c3ae5511591452aa1a43c90811b0c571dd.tar.bz2
Refs #4849 change compliance control clone spec
-rw-r--r--spec/lib/compliance_control_set_cloner_spec.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/spec/lib/compliance_control_set_cloner_spec.rb b/spec/lib/compliance_control_set_cloner_spec.rb
index 4305ec70b..c17f0bb52 100644
--- a/spec/lib/compliance_control_set_cloner_spec.rb
+++ b/spec/lib/compliance_control_set_cloner_spec.rb
@@ -7,7 +7,6 @@ RSpec.describe ComplianceControlSetCloner do
let( :source_set ){ create :compliance_control_set }
let( :set_prefix ){ I18n.t('compliance_control_sets.clone.prefix') }
let( :block_prefix ){ I18n.t('compliance_control_blocks.clone.prefix') }
- let( :control_prefix ){ I18n.t('compliance_controls.clone.prefix') }
context 'Copying empty set' do
@@ -96,7 +95,7 @@ RSpec.describe ComplianceControlSetCloner do
expect( target.compliance_control_set ).to eq( target_set )
expect( target.control_attributes ).to eq(source.control_attributes)
expect( target.criticity ).to eq(source.criticity )
- expect( target.name ).to eq([control_prefix, source.name].join(' '))
+ expect( target.name ).to eq(source.name)
expect( target.origin_code ).to eq(source.origin_code )
expect( target.type ).to eq(source.type)
end