Commit Graph

1 Commits

Author SHA1 Message Date
Rob Orton c8a9022624 create attachment purgatory
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>
2017-06-01 21:01:49 +00:00