Closed cavis closed 4 years ago
The only place audio_version_templates.segment_count was being set was the feed importer. So we weren't running seg-count validations.
audio_version_templates.segment_count
segment_count
AudioFileTemplate
test_after_commit
database_cleaner
m
released_at
The only place
audio_version_templates.segment_count
was being set was the feed importer. So we weren't running seg-count validations.segment_count
every time a childAudioFileTemplate
changessegment_count
field, IFF you have no child file_templatestest_after_commit
gem so these after_commit hooks actually run in the tests. (database_cleaner
usually prevents them).m
gem because it's convenientreleased_at
date in the initial feeder POST episodesegment_count
to audio_version and audio_version_template representers