DEV: Use destroy! method to raise error if any (#0d3c1cde)
This commit is contained in:
parent
ece44a44f8
commit
efcea148eb
|
@ -779,7 +779,7 @@ describe CookedPostProcessor do
|
|||
|
||||
expect(cpp.doc.to_s).to eq("<p><img class=\"onebox\" src=\"#{upload.url}\" width=\"\" height=\"\"></p>")
|
||||
|
||||
upload.destroy
|
||||
upload.destroy!
|
||||
cpp = CookedPostProcessor.new(post, invalidate_oneboxes: true)
|
||||
cpp.post_process_oneboxes
|
||||
|
||||
|
|
Loading…
Reference in New Issue