aboutsummaryrefslogtreecommitdiffstats
path: root/spec/support/with_commit.rb
diff options
context:
space:
mode:
authorTeddy Wing2017-11-09 11:37:35 +0100
committercedricnjanga2017-11-13 17:52:54 +0100
commitbde146b6ca9169c9724ed1406cfb6d1ec98f18f9 (patch)
tree11f38cf4badd0d5d63ca479309dd84fd8c3d0d81 /spec/support/with_commit.rb
parent3d6b5c8a3192d255fcec73803730d4d1a08c6586 (diff)
downloadchouette-core-bde146b6ca9169c9724ed1406cfb6d1ec98f18f9.tar.bz2
ComplianceCheckSet#update_status: Only update 'successful' at the end
Previously we were updating to a 'successful' status prematurely, at the first encounter with a successful `ComplianceCheckResource`. Here, we wait until we've looked at all associated `ComplianceCheckResource`s before setting 'successful'. Only if all associated `ComplianceCheckResource`s are successful do we set this status on the `ComplianceCheckSet`. Refs #4757
Diffstat (limited to 'spec/support/with_commit.rb')
0 files changed, 0 insertions, 0 deletions