diff options
| author | Robert | 2017-10-10 16:05:02 +0200 | 
|---|---|---|
| committer | Robert | 2017-10-12 17:49:51 +0200 | 
| commit | 60c26e2e636ad43ab63208886fdc8c72bdca49c7 (patch) | |
| tree | 7451b8542c412cdbfd862ec43630fb3a91d3d99f /lib/compliance_control_set_copier.rb | |
| parent | a383a52049de5777db04fbb16db45a1ed2957f7f (diff) | |
| download | chouette-core-60c26e2e636ad43ab63208886fdc8c72bdca49c7.tar.bz2 | |
Refs: #4709@1h; Preparing tests for correctly copy of data and migration
Diffstat (limited to 'lib/compliance_control_set_copier.rb')
| -rw-r--r-- | lib/compliance_control_set_copier.rb | 3 | 
1 files changed, 2 insertions, 1 deletions
| diff --git a/lib/compliance_control_set_copier.rb b/lib/compliance_control_set_copier.rb index 0a688c964..a9891ce6d 100644 --- a/lib/compliance_control_set_copier.rb +++ b/lib/compliance_control_set_copier.rb @@ -36,7 +36,8 @@ class ComplianceControlSetCopier    # Copy Blocks:    def make_cck_block cc_block      cck_set.compliance_check_blocks.create( -      name: name_with_refid(cc_block.name)).tap do | cck_block | +      name: name_with_refid(cc_block.name), +      condition_attributes: cc_block.condition_attributes).tap do | cck_block |          relink_checks_to_block cc_block, cck_block        end    end | 
