aboutsummaryrefslogtreecommitdiffstats
path: root/spec/factories.rb
Commit message (Collapse)AuthorAgeLines
* Merge branch 'feature/1310-better-track-translation' into rails-3-developLouise Crow2014-04-04-6/+0
|\ | | | | | | | | Conflicts: spec/factories.rb
| * Add notices for subscribing something you're subscribed to.Louise Crow2014-03-24-0/+18
| | | | | | | | | | These notices are full sentences, rather than being composed of phrases, which should make them easier to translate.
| * Make track factory name a bit more specific.Louise Crow2014-03-24-3/+5
| |
* | Split factories in to individual filesGareth Rees2014-03-25-193/+3
| | | | | | | | | | | | | | | | | | | | | | | | Factories are loaded automatically from: - test/factories.rb - spec/factories.rb - test/factories/*.rb - spec/factories/*.rb Keeping factories per-model helps navigation, especially when they get more complex with traits and inheritance.
* | Add specs for AdminUserController#modify_comment_visibilityGareth Rees2014-03-25-0/+17
| |
* | Refactor event description to make it easier to translate.Louise Crow2014-03-17-6/+20
|/ | | | Closes #1313 and #365.
* Merge branch 'feature/batch-requests' into rails-3-developLouise Crow2014-01-29-0/+6
|\ | | | | | | | | | | Conflicts: config/general.yml-example spec/factories.rb
| * Add check for double submission.Louise Crow2013-12-04-0/+1
| |
| * Add InfoRequestBatch model.Louise Crow2013-12-04-0/+4
| | | | | | | | | | Re-annotate models. Index InfoRequestBatches by user - we'll display the batches for a user when they view their own requests.
| * Add a can_make_batch_requests flag to user modelLouise Crow2013-12-04-0/+1
| | | | | | | | Make it updatable via the user admin page.
* | Populate admin public body forms based on a change request.Louise Crow2014-01-13-0/+12
|/ | | | | Also add editable text for an email to be sent to the person requesting the change.
* Add factory to support new specs.0.14.0.2hotfix/0.14.0.2Louise Crow2013-10-03-0/+7
|
* Use earlier factory_girl syntaxLouise Crow2013-09-16-21/+26
|
* Only include public messages in who_can_followup_toLouise Crow2013-09-16-1/+20
|
* Allow creation of multiple public bodies in one test.Louise Crow2013-09-16-2/+4
| | | | | Add some sequences to make sure that we don't get validation errors on unique fields.
* Give incoming message a body attachmentLouise Crow2013-09-16-3/+5
| | | | By default, give an incoming message a body attachment.
* Give incoming message factory a body text.Louise Crow2013-09-16-9/+21
| | | | Also, store an event for the incoming message.
* Rewrite download specLouise Crow2013-09-16-2/+13
| | | | | Make it an integration spec so we don't need to touch the internals so much.
* Use a real pdf file for foi_attachment factory.Louise Crow2013-09-16-2/+2
|
* Refactor prominence specs to use factories not fixtures.Louise Crow2013-09-16-1/+59
|
* Make some simple factories for real objects.Louise Crow2013-09-16-0/+31