aboutsummaryrefslogtreecommitdiffstats
path: root/spec/javascript
diff options
context:
space:
mode:
authorTeddy Wing2017-08-01 20:47:15 +0200
committerTeddy Wing2017-08-01 20:47:15 +0200
commit985f22e3d4c7c503c4f830f00692a1219ade9612 (patch)
tree5e8eb9d99d1ab9950c5eeceeff80947c51e9e9a0 /spec/javascript
parentf189c4331d4f6f1ed10b7545d90a92dc2b7ca9b1 (diff)
downloadchouette-core-985f22e3d4c7c503c4f830f00692a1219ade9612.tar.bz2
Import: Make #child_change work
The `#child_change` method should update the current import (the parent) with a 'failed' or 'successful' status depending on the status of the child passed in. If the child has a failure status, the parent import should be updated to failed. If the import is `#ready?`, that tells us that all children have called `#child_change` without any problems, and we can update the parent's status to be successful. THAT PARAGRAPH IS WRONG. We could have `#ready?` with failed children. NEED TO UPDATE TO SUPPORT THAT. Add a method that describes the possible "failing" statuses. These are the ones that will cause 'failed' to be set on the parent. Refs #3509, #3511
Diffstat (limited to 'spec/javascript')
0 files changed, 0 insertions, 0 deletions