aboutsummaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
authorLuc Donnet2018-03-09 08:57:48 +0100
committerGitHub2018-03-09 08:57:48 +0100
commit523d3e418539cfe6af98bdcbae82d1f7d3fdd3c0 (patch)
tree28af12464ebeb9368d9d9dd9c9970ea66003fa25 /spec
parent186662b9ef2e996ec649298debb3df352f9849bf (diff)
parentd79abf1d6c63004da9f1d969e8edee4d9cd52393 (diff)
downloadchouette-core-523d3e418539cfe6af98bdcbae82d1f7d3fdd3c0.tar.bz2
Merge pull request #366 from af83/5989-fix_compliance_check_resource_status
Fix compliance_check_resource and compliance_check_set status Refs #5…
Diffstat (limited to 'spec')
-rw-r--r--spec/models/compliance_check_set_spec.rb7
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