aboutsummaryrefslogtreecommitdiffstats
path: root/spec/support/email_helpers.rb
diff options
context:
space:
mode:
authorMark Longair <mhl@pobox.com>2013-04-26 14:07:00 +0100
committerMark Longair <mhl@pobox.com>2013-05-16 09:06:27 +0100
commitcf7d6e92ca2daa1a96517a7b62fb6446679ad898 (patch)
tree3a61475d99ee4107980152455eef1b77e84da848 /spec/support/email_helpers.rb
parent16ca4662692125290f8df336d71dc098af4b937b (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/support/email_helpers.rb')
0 files changed, 0 insertions, 0 deletions