aboutsummaryrefslogtreecommitdiffstats
path: root/spec/models/info_request_batch_spec.rb
Commit message (Collapse)AuthorAgeLines
* Annotate modelsGareth Rees2014-04-09-0/+13
| | | | | Should have been run after related migrations. Could automate this to always run after migrations.
* Send batch requests as a cron job.Louise Crow2013-12-04-0/+40
|
* Simplify return value, set sent_at in create_batch!Louise Crow2013-12-04-13/+34
|
* Use public bodies not requests in find_existingLouise Crow2013-12-04-6/+8
| | | | The requests may not have been created at this point.
* Split the creation of a batch and the associated requests.Louise Crow2013-12-04-10/+9
| | | | We're going to want to actually create and send the requests later.
* Add the specific salutations to each request.Louise Crow2013-12-04-0/+22
| | | | | | Also, wrap model creation in a transaction and do the message sending separately - we may ultimately want to do this outside the request cycle.
* Add check for double submission.Louise Crow2013-12-04-0/+45
|
* Add InfoRequestBatch model.Louise Crow2013-12-04-0/+21
Re-annotate models. Index InfoRequestBatches by user - we'll display the batches for a user when they view their own requests.