closes CNVS-36308
test plan
a = Attachment.find(id)
a.destroy_content_and_replace
# a should have new content
p = Purgatory.take
a.resurrect_from_purgatory
# the content should be restored
p.reload #workflow_state should be ‘restored’
Change-Id: I560e8ca31c22d894322d7951562371730a8abdfc
Reviewed-on: https://gerrit.instructure.com/108530
Tested-by: Jenkins
Reviewed-by: Cody Cutrer <cody@instructure.com>
QA-Review: Tucker McKnight <tmcknight@instructure.com>
Product-Review: Rob Orton <rob@instructure.com>