aboutsummaryrefslogtreecommitdiffstats
path: root/spec/models/request_mailer_spec.rb
Commit message (Collapse)AuthorAgeLines
* allow specs to run independentlyJames McKinney2011-10-16-1/+1
|
* Log the reason why an incoming mail is routed to the holding pen, and ↵Seb Bacon2011-08-03-0/+44
| | | | display it to administrators. Closes #107.
* To make tests pass with RawEmails on the filesystem, instead of hacky ↵Seb Bacon2011-07-29-0/+3
| | | | dependency on existence of text_binary field in raw_emails model, rewrite tests (and their fixtures) to explicitly load data from FS when raw_emails are used.
* Make sure the :public_body_translation fixture is included everywhere the ↵Robin Houston2011-06-09-1/+1
| | | | :public_bodies fixture is, because the PublicBody objects do not work as expected without it.
* Mock a few more things now foreign key constraints are being enforced in the ↵Louise Crow2011-02-23-49/+54
| | | | test environment
* Make path work in Ruby 1.9Francis Irving2010-09-15-1/+1
|
* Change 'rejected' to 'refused', as used in the lawFrancis Irving2010-06-16-2/+2
|
* Only change email address when they confirm the email, so there is noFrancis Irving2010-03-10-1/+1
| | | | security leak that someone is registered with an email
* So fixtures and deliveries are right when run in alphabetical order.Francis Irving2009-10-29-1/+0
|
* Remove debugging.francis2009-10-04-1/+1
|
* Move the actual messages sent to authorities into a separate mailer model ↵francis2009-10-04-66/+0
| | | | class (so can give them different layout, but is nice anyhow)
* Change formatting of outgoing emails.francis2009-10-04-1/+2
|
* Clear deliveries before running test to make sure test is self-containedlouise2009-07-09-0/+1
|
* Fix bug with bouncing messages.francis2009-06-15-0/+7
|
* Whoops, didn't work with name part in from address.francis2009-06-15-1/+1
|
* Fancier options for stopping new responses to requests.francis2009-06-15-2/+79
|
* Provide more explanation to users when someone else updates theirtony2009-05-14-3/+8
| | | | request status.
* Added method for sending email to requester when someone has updated an old ↵louise2009-04-14-4/+25
| | | | unclassified request
* Reminders sent to users to update the status of their request now use ↵louise2009-04-08-2/+2
| | | | InfoRequest.find_old_unclassified
* Adding specs for current behaviour of RequestMailer when sending out ↵louise2009-04-08-1/+79
| | | | reminders to requesters to classify a response to their request
* TMail rebuilds address when constructing emails. Move our morefrancis2009-04-08-2/+2
| | | | | | aggressive quoting rule into a TMail monkey patch proper so it is always called when constructing emails, and remove the hacky function (Address.encode_quoted_string) it used to call in special places
* Tests for use of different addresses in replies.francis2009-04-08-16/+51
| | | | | Fix bug in quoting of those replies. Make it remove @ signs from name part of them.
* Start to add test for the mail reply address functions.francis2009-04-07-1/+31
|
* Make link on first response arrived email not be login one, as people ↵francis2008-11-10-0/+1
| | | | | | | forward it about. Make link on later ones go straight to top green box. Give ids to the green boxes.
* Fix up test code, and some bugs relating to splitting out raw_email data.francis2008-09-22-1/+1
|
* Store incoming messages which aren't to a valid request in a holding pen, andfrancis2008-07-08-1/+8
| | | | let people move them from admin interface.
* Option to stop new respones for individual requests which for whatever reasonfrancis2008-05-19-1/+22
| | | | are getting spam.
* Store incoming and outgoing message id in the table for info request events, ↵francis2008-04-15-0/+1
| | | | so has proper foreign key.
* More tests stufffrancis2008-04-14-1/+0
|
* Stop the wrapping code breaking up long URLsfrancis2008-04-14-0/+12
|
* Get incoming email test working.francis2007-12-13-1/+1
|
* Word wrap emails.francis2007-12-12-1/+2
| | | | Fix user id references in test code.
* Model for storing category of response (contains information, rejection etc.)francis2007-11-14-3/+3
|
* If there is no FOI request for incoming email to go to, then (for now) insteadfrancis2007-11-13-1/+10
| | | | forward a copy to the administrators.
* Test incoming request response emails.francis2007-11-13-1/+13
|
* Stub specs.francis2007-10-31-0/+8