aboutsummaryrefslogtreecommitdiffstats
path: root/spec/models/info_request_spec.rb
Commit message (Collapse)AuthorAgeLines
* 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
|
* Move due date counting code into Holiday classtony2009-03-10-36/+0
|
* 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
|
* 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
|
* 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
|
* 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.
* 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.
* Some more tests on user classfrancis2007-10-30-1/+1
|
* Add a couple of basic tests for InfoRequestfrancis2007-10-30-0/+22