diff options
| author | Teddy Wing | 2017-11-13 18:27:48 +0100 |
|---|---|---|
| committer | Teddy Wing | 2017-11-13 18:27:48 +0100 |
| commit | 51a0898506e9c6bcc379ed8db01d3f14a1dbe110 (patch) | |
| tree | 27351c2fec102efec73daff5b320ad4661f23d97 /spec/support/with_commit.rb | |
| parent | 336dab9900aee831e73113e400609ec2ebd40c20 (diff) | |
| download | chouette-core-51a0898506e9c6bcc379ed8db01d3f14a1dbe110.tar.bz2 | |
NetexImport: Destroy referential on destroy if ready:false
If the `NetexImport`'s associated `Referential` has `ready: false`, when
the `NetexImport` is destroyed, also destroy the `Referential`.
This prevents a case where users get an invalid `Referential` as a
result of an import, but because of the `ready: false`, it doesn't
display on the website, so they can't see what the problem is.
Refs #4962
Diffstat (limited to 'spec/support/with_commit.rb')
0 files changed, 0 insertions, 0 deletions
