diff options
| author | Robert | 2017-10-05 08:51:40 +0200 |
|---|---|---|
| committer | Robert | 2017-10-05 08:53:48 +0200 |
| commit | 27b5695fe6be33f23e87242a617ba9bd751fac28 (patch) | |
| tree | e4d78a34336112360c1a2c9d4217ec2782ab60cd /spec | |
| parent | 14eb03b2e2485985e6956375a82edbcf71f01bb4 (diff) | |
| download | chouette-core-0000-proposal-through_if.tar.bz2 | |
Proposal for DB consistency enforcment0000-proposal-through_if
Diffstat (limited to 'spec')
| -rw-r--r-- | spec/models/compliance_control_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/compliance_control_spec.rb b/spec/models/compliance_control_spec.rb index 7c58eaf3e..731f84d24 100644 --- a/spec/models/compliance_control_spec.rb +++ b/spec/models/compliance_control_spec.rb @@ -44,7 +44,7 @@ RSpec.describe ComplianceControl, type: :model do compliance_control_set_id: create( :compliance_control_set ).id expect(compliance_control).to_not be_valid selected_error_message = - compliance_control.errors.messages[:coherent_control_set].grep(%r{ControlSet associƩ}) + compliance_control.errors.messages[:consistent_control_set].grep(%r{ControlSet associƩ}) expect( selected_error_message ).to_not be_empty end end |
