aboutsummaryrefslogtreecommitdiffstats
path: root/spec/controllers/request_controller_spec.rb
Commit message (Collapse)AuthorAgeLines
...
* | | | | When displaying information about how overdue something is, use values from ↵Seb Bacon2011-08-12-0/+2
| |_|_|/ |/| | | | | | | | | | | the config file, rather than hard coded ones. Fixes #130.
* | | | Fix up missing fixtures (causing failures dependent on order the tests were ↵Seb Bacon2011-08-10-3/+9
| |_|/ |/| | | | | | | | funr). Also tidy up raw_email setup code to match everywhere.
* | | make explicit path test locale-independentSeb Bacon2011-07-29-1/+1
| | |
* | | To make tests pass with RawEmails on the filesystem, instead of hacky ↵Seb Bacon2011-07-29-8/+41
| |/ |/| | | | | 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.
* | Cause the final step in the "new request" workflow to have a unique URL (so ↵Seb Bacon2011-07-28-0/+3
|/ | | | we can distinguish it in Google Analytics). Fixes #96
* Remove redundant test (this change should be with commit ↵Seb Bacon2011-07-25-14/+0
| | | | dd58cd35e51c1b98228aae1aa930629e84b6a905)
* don't test routing filters at same time as other testsSeb Bacon2011-07-13-1/+2
|
* fix "custom request states" request controller testSeb Bacon2011-07-12-0/+3
|
* Refactor custom states loading (use class methods where appropriate, ↵Seb Bacon2011-07-12-1/+2
| | | | simplify main code at the cost (small) of test legibility)
* Improve factoring out of custom states code (refactor a little, add tests)Seb Bacon2011-07-12-0/+12
|
* changes to get tests to pass with IZ fork and new routing-filter gemSeb Bacon2011-07-11-1/+1
|
* Changes required to get selishta (Kosovo) fork merges to pass tests. ↵Seb Bacon2011-07-06-2/+2
| | | | Includes new "REPLY_LATE_AFTER_DAYS" config option.
* Get rid of commented-out STDERR.puts messagesRobin Houston2011-06-21-4/+0
|
* Correct an operator precendence bug in request_controller, and add a test ↵Robin Houston2011-06-21-6/+15
| | | | for it.
* merge WTDK changes to master (preparation for closing WTDK branch and ↵Seb Bacon2011-06-14-2/+2
|\ | | | | | | deploying WTDK website straight from master)
| * Move the non-fixture files in spec/fixtures to their own subdirectory,Robin Houston2011-06-10-2/+2
| | | | | | | | | | so that we can run rake spec:db:fixtures:load without it choking on the files that aren't fixtures.
* | Make sure the :public_body_translation fixture is included everywhere the ↵Robin Houston2011-06-09-12/+12
| | | | | | | | :public_bodies fixture is, because the PublicBody objects do not work as expected without it.
* | further test fixageSeb Bacon2011-04-01-1/+5
|/
* Return more info in request JSON response.Francis Irving2010-10-20-3/+3
|
* Add tag_string to tests.Francis Irving2010-10-18-6/+6
|
* Remove unnecessary integrate viewsFrancis Irving2010-10-18-3/+1
|
* Add test for JSON requestsFrancis Irving2010-10-18-0/+19
|
* Make path work in Ruby 1.9Francis Irving2010-09-15-1/+1
|
* Mock views for new syntax of calling searchFrancis Irving2010-09-14-1/+5
|
* Changed name of variable.Francis Irving2010-09-06-1/+1
|
* Add test of user level censor rules from controller.Francis Irving2010-08-04-0/+18
|
* Updated formatting.Francis Irving2010-06-08-1/+1
|
* Check size of attachmentFrancis Irving2010-03-03-0/+1
|
* Test code for FOI officer uploadFrancis Irving2010-03-03-0/+85
|
* Test for previewing followupsFrancis Irving2009-12-22-0/+11
|
* Fix bug that stopped re-editing requests workingFrancis Irving2009-12-22-0/+9
|
* Email when request becomes long overdueFrancis Irving2009-12-16-0/+25
|
* Fix overdue email text for new policy and for schools.Francis Irving2009-12-16-2/+19
|
* Save the model that was changed.Francis Irving2009-12-16-1/+1
|
* Fix some tests.Francis Irving2009-12-13-2/+20
|
* Change salutation from "Sir or Madam" to name of authority.Francis Irving2009-12-04-5/+5
|
* So fixtures and deliveries are right when run in alphabetical order.Francis Irving2009-10-29-1/+1
|
* Reflect behaviour change in 1e74ce210dd3584fbed6f53d2c0360045d7161b5Francis Irving2009-10-29-3/+3
|
* Add extra test.francis2009-10-19-0/+11
|
* League table for classification game.francis2009-10-14-2/+2
| | | | | Show progress of game with Google chart. Don't require login for main game page.
* Remove debugging.francis2009-10-04-1/+2
|
* Change formatting of outgoing emails.francis2009-10-04-0/+1
|
* Don't send overdue alerts, or request for clarification alerts to banned usersfrancis2009-10-03-1/+30
|
* Loads of changes to timescale text, to make it more legally accurate, but stillfrancis2009-10-02-1/+1
| | | | forceful.
* Fix what page it takes admin users to properly, and test code (done on train)francis2009-10-01-7/+59
|
* Let some users leave requests undescribed.francis2009-10-01-0/+11
|
* Change censor rules to apply to strings in place, so using less memory on ↵francis2009-09-15-0/+34
| | | | | | large strings. Add lots of test code for censor rules.
* Force correct filename for attachments.francis2009-09-02-2/+13
|
* Fix subtle bug, which caused error with old data and new ↵francis2009-08-19-3/+7
| | | | not-sending-to-auto-annotations code
* Don't send alert for annotation on your own request.francis2009-08-18-5/+21
|