diff options
author | Louise Crow <louise.crow@gmail.com> | 2012-11-14 13:55:22 +0000 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2012-12-06 14:15:48 +0000 |
commit | d1e5ab85d271a7b90a5c76946a960747c639ad64 (patch) | |
tree | 0cbbe9c13d9a7c312d32fbd68597132c83e2c135 /spec/lib/mail_handler/mail_handler_spec.rb | |
parent | 6fc410bdb97791952088db0673b38dd8cc94da61 (diff) |
Only make a tempfile etc if we're actually going to use it. Keep the body call outside the Chdir block - sometimes getting the body may involve opening files too.
Conflicts:
app/models/foi_attachment.rb
Diffstat (limited to 'spec/lib/mail_handler/mail_handler_spec.rb')
0 files changed, 0 insertions, 0 deletions