aboutsummaryrefslogtreecommitdiffstats
path: root/spec/controllers
Commit message (Collapse)AuthorAgeLines
* Anneal brittle testRobin Houston2011-08-24-1/+3
|
* Add test for generation of HTML versions of attachments. As a side-effect, ↵Seb Bacon2011-08-17-0/+8
| | | | make some of the HTML more valid. Prerequisite for addressing issue #108.
* Fix template syntax error. Closes #136Seb Bacon2011-08-15-0/+7
|
* Monkey patch around bug that was stripping out quotes from search phrases. ↵Seb Bacon2011-08-15-1/+0
| | | | Fixes #38
* 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.
* I18n'd hardcoded WhatDoTheyKnow strings, mostly in mails. Use named variable ↵David Cabo2011-08-11-2/+2
| | | | substitution in gettext strings.
* Show the rejected reason for the incoming message in question, not the most ↵Seb Bacon2011-08-11-1/+6
| | | | recent rejected reason for the info request in question. Fixes #129.
* Fix up missing fixtures (causing failures dependent on order the tests were ↵Seb Bacon2011-08-10-12/+20
| | | | funr). Also tidy up raw_email setup code to match everywhere.
* allow admin to redeliver emails to closed requests. Fixes #116Seb Bacon2011-08-08-0/+18
|
* Introduce config setting to ignore browser language settingsSeb Bacon2011-08-08-1/+15
|
* Fix dependency problem when deleting incoming messages. Closes #115Seb Bacon2011-08-08-0/+7
|
* Ensure we use sensible fallbacks for setting the default / initial locale ↵Seb Bacon2011-08-08-8/+29
| | | | for a user. (Partially) fixes #114
* Guess holding pen emails based on having a correct hash and an incorrect id. ↵Seb Bacon2011-08-08-0/+11
| | | | Closes #117
* Log the reason why an incoming mail is routed to the holding pen, and ↵Seb Bacon2011-08-03-0/+19
| | | | display it to administrators. Closes #107.
* Force a trailing slash on the end of the administrators' index page. Fixes #106Seb Bacon2011-08-03-1/+7
|
* Fail silently if there's no user matching one referenced in the current ↵Seb Bacon2011-08-03-0/+7
| | | | session. Fixes #105
* 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/+52
| | | | 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
* Don't treat CSRF tokens as optional session data for administrators (they're ↵Seb Bacon2011-07-27-4/+12
| | | | | | needed to allow them to edit anything! Fixes #95 (Also change wording of test namess to match usual rspec convention)
* Authentication should only apply to admin interface when *both* email *and* ↵Seb Bacon2011-07-27-0/+9
| | | | password are unset
* Remove redundant test (this change should be with commit ↵Seb Bacon2011-07-25-14/+0
| | | | dd58cd35e51c1b98228aae1aa930629e84b6a905)
* Only prepend locales to paths when there's more than one locale to choose from.Seb Bacon2011-07-15-0/+23
| | | | Replaces core "locale" filter with customised one. Fixes #82
* Make test description be accurateSeb Bacon2011-07-14-1/+1
|
* Merge branch 'master' of github.com:sebbacon/alaveteliSeb Bacon2011-07-14-1/+4
|\ | | | | | | | | Conflicts: app/views/request/_request_listing_single.rhtml
| * Make the tests work with authenticationRobin Houston2011-07-13-1/+4
| |
* | Fix bug on categorisation page that was stopping game from workingSeb Bacon2011-07-14-0/+12
|/
* 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-40/+54
|
* merge from masterSeb Bacon2011-07-07-1/+1
|\
| * Remove the translate_routes plugin, for now, because it appears toRobin Houston2011-07-06-1/+1
| | | | | | | | be the cause of several difficult bugs related to routing.
* | 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.
* | fix up basic auth for admin settings: get credentials from config, cause ↵Seb Bacon2011-07-06-3/+32
|/ | | | default (where no config) to skip authorization completely, add tests for these
* 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.
* Argh! Another spec that uses the :public_bodies fixture and needsRobin Houston2011-06-20-0/+1
| | | | :public_body_translations to be added for it to work correctly.
* 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.
| * Don't store passwords in post_params.Louise Crow2011-05-16-2/+2
| |
* | Make sure the template rendering happens within the scope ofSeb Bacon2011-06-13-0/+7
| | | | | | | | | | with_locale, so it's rendered using the correct locale. (+ test for this)
* | Make sure the :public_body_translation fixture is included everywhere the ↵Robin Houston2011-06-09-18/+18
| | | | | | | | :public_bodies fixture is, because the PublicBody objects do not work as expected without it.
* | Don't store passwords in post_params.Louise Crow2011-05-16-2/+1
| |
* | Adding missing fixture.Louise Crow2011-04-07-7/+6
| |
* | further test fixageSeb Bacon2011-04-01-4/+8
| |
* | some test fixageSeb Bacon2011-03-11-2/+3
| |
* | new i18n tests for controllers and associated fixesSeb Bacon2011-03-10-1/+75
| |
* | Reindexing xapian before running track alert specLouise Crow2011-03-10-2/+2
|/