diff options
| author | Robert | 2017-10-09 18:57:13 +0200 |
|---|---|---|
| committer | Robert | 2017-10-10 15:32:29 +0200 |
| commit | b6c8de768a64dc5e06edb5595430fbe93dff9f6a (patch) | |
| tree | d85303277512fcd1c9a20a1ac1141091e5eccbc9 /spec/lib | |
| parent | 98861e13d56403e75aa000d62880dcbc34987a37 (diff) | |
| download | chouette-core-b6c8de768a64dc5e06edb5595430fbe93dff9f6a.tar.bz2 | |
Fixes: #4707@1.5h;
Diffstat (limited to 'spec/lib')
| -rw-r--r-- | spec/lib/compliance_control_set_copier_spec.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/lib/compliance_control_set_copier_spec.rb b/spec/lib/compliance_control_set_copier_spec.rb index b620d0657..1b4a75634 100644 --- a/spec/lib/compliance_control_set_copier_spec.rb +++ b/spec/lib/compliance_control_set_copier_spec.rb @@ -44,16 +44,16 @@ RSpec.describe ComplianceControlSetCopier do let( :ccks ){ cck_set.compliance_checks } it 'correctly creates a cck_set for a complete DAG' do - # Slowness of tests constrain us to create a minimum of objects in the DB, + # Slowness of tests constrains us to create a minimum of objects in the DB, # hence only one example :( counts = object_counts subject.copy(cc_set.id, ref.id) # Did not change the original objects # Correct numbers - expect( ComplianceControlSet.count).to eq(counts.cc_set_count) - expect( ComplianceControlBlock.count).to eq(counts.cc_block_count) - expect( ComplianceControl.count).to eq(counts.cc_count) + expect( ComplianceControlSet.count ).to eq(counts.cc_set_count) + expect( ComplianceControlBlock.count ).to eq(counts.cc_block_count) + expect( ComplianceControl.count ).to eq(counts.cc_count) expect( ComplianceCheckSet.count ).to eq(counts.cck_set_count + 1) expect( cck_blox.count ).to eq(counts.cck_block_count + cc_blox.size) |
