diff options
| author | Teddy Wing | 2017-11-09 11:37:35 +0100 |
|---|---|---|
| committer | cedricnjanga | 2017-11-13 17:52:54 +0100 |
| commit | bde146b6ca9169c9724ed1406cfb6d1ec98f18f9 (patch) | |
| tree | 11f38cf4badd0d5d63ca479309dd84fd8c3d0d81 /spec/support/with_commit.rb | |
| parent | 3d6b5c8a3192d255fcec73803730d4d1a08c6586 (diff) | |
| download | chouette-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
