aboutsummaryrefslogtreecommitdiffstats
path: root/spec/models
Commit message (Collapse)AuthorAgeLines
* Whoops, didn't remove slashes from subjects.francis2009-03-17-0/+11
|
* Fix bug with slashes in attachment filenamesfrancis2009-03-17-0/+11
|
* Can change time much more easily with RSpec's stubbingtony2009-03-17-10/+2
|
* Better days_overdue tests by overriding Time.nowtony2009-03-17-2/+20
|
* very basic days_overdue teststony2009-03-17-0/+2
|
* Add due date test for info_requesttony2009-03-16-0/+5
|
* Test that Time objects DTRTtony2009-03-16-0/+4
|
* Move due date counting code into Holiday classtony2009-03-10-36/+43
|
* Change the holiday checking code to use new model class, rather thantony2009-03-09-1/+1
| | | | hardcoded table of data.
* add some tests for InfoRequest.calculate_statustony2009-03-09-0/+40
|
* Blank out emails in outgoing messages. Hope I've got every case.francis2009-03-07-1/+20
|
* Factor out due_date_for_request_date (partially - it should really livetony2009-03-06-1/+34
| | | | elsewhere), and add more tests for it
* Add test for date_response_required_by. (We need some more of these fortony2009-03-06-0/+4
| | | | more complex scenarios but this is useful for now)
* Fix up verboseness in testfrancis2009-01-23-3/+4
|
* Some more tests.francis2008-12-31-1/+14
|
* Move TMail monkeypatches out of incoming_message intofrancis2008-11-21-0/+5
|
* 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-2/+2
|
* 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.
* Minor test.francis2008-06-25-0/+6
|
* Cope with mistyped l instead of 1, and o instead of 0 in request emails.francis2008-06-11-1/+21
|
* Have test file for each model.francis2008-05-21-8/+20
|
* Bullet list in credits on about page.francis2008-05-21-0/+12
| | | | | | | | | | | Rename rss_at to described_at. Email alerts based on date of description, not just creation date (so don't miss things that were created before alert but described only recently) Tidy up when described vs. newest is used for sort order. Caching of text extracted from attachments, and display in search results. Add some tests for things that aren't tested. (alright, maybe we *should* use git/hg if I'm going to keep doing this many separate commits on a train)
* 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
|
* Match magic email case insensitivelyfrancis2008-04-03-0/+6
|
* Get rid of special envelope from -bounce addresses, as they are no good sincefrancis2008-03-21-0/+6
| | | | enough public authorities mail them with non-automatic messages.
* Forgot to commit this.francis2008-03-21-0/+8
|
* Add missing model tests.francis2008-03-21-0/+52
|
* If request is deleted, then send email on to admin, rather than raising anfrancis2008-03-17-0/+6
| | | | exception that goes to the public body in a delivery failure.
* Remove complaint_email field as we were never filling it in or using it. ↵francis2008-03-17-12/+0
| | | | There are more important things.
* Add tests for broken case of saving info request or user when there is ↵francis2008-03-15-0/+13
| | | | | | existing one with same title/name. Fix the bug, which was in function that makes url_title/url_name.
* Add NOT NULL constraints into the database everywherefrancis2008-01-24-0/+6
|
* Oopsfrancis2008-01-18-2/+2
|
* 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-4/+12
|
* 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
|
* Some test stubs to force them into code coverage.francis2007-11-08-0/+8
|
* Test for post redirectfrancis2007-11-08-0/+59
|
* Update test code.francis2007-11-07-6/+7
|
* Stub specs.francis2007-10-31-0/+62
|
* More tests on user modelfrancis2007-10-30-7/+28
|
* Some more tests on user classfrancis2007-10-30-10/+39
|
* Add a couple of basic tests for InfoRequestfrancis2007-10-30-1/+25
|
* Adding rspec config files, initial specslouise2007-10-16-0/+15