diff options
| author | Teddy Wing | 2017-08-01 20:47:15 +0200 |
|---|---|---|
| committer | Teddy Wing | 2017-08-01 20:47:15 +0200 |
| commit | 985f22e3d4c7c503c4f830f00692a1219ade9612 (patch) | |
| tree | 5e8eb9d99d1ab9950c5eeceeff80947c51e9e9a0 /spec/javascript | |
| parent | f189c4331d4f6f1ed10b7545d90a92dc2b7ca9b1 (diff) | |
| download | chouette-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
