diff options
| author | Luc Donnet | 2018-03-08 15:03:34 +0100 |
|---|---|---|
| committer | Luc Donnet | 2018-03-08 15:03:34 +0100 |
| commit | d79abf1d6c63004da9f1d969e8edee4d9cd52393 (patch) | |
| tree | 3bcf66a8f8e280698aadf3c4847bf106a51cf3c6 /spec | |
| parent | a53eb22c144b12cf7b662db38ddbbba20af89d3a (diff) | |
| download | chouette-core-d79abf1d6c63004da9f1d969e8edee4d9cd52393.tar.bz2 | |
Fix compliance_check_resource and compliance_check_set status Refs #5989 @15989-fix_compliance_check_resource_status
Diffstat (limited to 'spec')
| -rw-r--r-- | spec/models/compliance_check_set_spec.rb | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/spec/models/compliance_check_set_spec.rb b/spec/models/compliance_check_set_spec.rb index b981a68bb..61421287a 100644 --- a/spec/models/compliance_check_set_spec.rb +++ b/spec/models/compliance_check_set_spec.rb @@ -81,14 +81,9 @@ RSpec.describe ComplianceCheckSet, type: :model do check_set.update_status - expect(check_set.status).to eq('successful') + expect(check_set.status).to eq('warning') end - it "returns true when the status did not get updated" do - check_set = create(:compliance_check_set) - - expect(check_set.update_status).to be true - end end describe 'possibility to delete the associated compliance_control_set' do |
