diff options
author | Mark Longair <mhl@pobox.com> | 2013-04-26 14:07:00 +0100 |
---|---|---|
committer | Mark Longair <mhl@pobox.com> | 2013-05-16 09:06:27 +0100 |
commit | cf7d6e92ca2daa1a96517a7b62fb6446679ad898 (patch) | |
tree | 3a61475d99ee4107980152455eef1b77e84da848 /spec/lib/mail_handler | |
parent | 16ca4662692125290f8df336d71dc098af4b937b (diff) |
Add rake tasks for checking the parsing of a random sample of emails
For the upgrade from Rails 2 to Rails 3, we want to check that
existing emails are parsed correctly. One of these tasks
(temp:random_attachments_hexdigests) is for dumping a CVS file
of details about each attachment, and its hexdigest, and a list
of the randomly selected raw emails. (It's intended that you
run this on an old Rails 2 install of Alaveteli. The other task
(temp:recompute_attachments_hexdigests) is intended to be run
on a Rails 3 install of Alaveteli, with the previous files as
input, to check that the same results are obtained.
Diffstat (limited to 'spec/lib/mail_handler')
0 files changed, 0 insertions, 0 deletions