Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | Extract configuration with defaults into one module | Matthew Landauer | 2012-09-25 | -1/+1 |
| | ||||
* | Fix test breakage (really we should use a test app.po rather than the real ↵ | Seb Bacon | 2012-06-14 | -1/+1 |
| | | | | one for testing!) | |||
* | Test for user turning email alerts off. Also includes a fix not to rely on ↵ | Seb Bacon | 2012-05-30 | -0/+9 |
| | | | | HTTP_REFERER for subsequent redirect. | |||
* | Make it possible to view other people's activities on their own walls. | Seb Bacon | 2012-05-30 | -0/+6 |
| | ||||
* | Test for the user's wall. | Seb Bacon | 2012-05-30 | -0/+20 |
| | ||||
* | Merge jpmckinney/bundler | Seb Bacon | 2012-02-15 | -2/+0 |
| | ||||
* | Let admin users use auto-login URLs | Robin Houston | 2012-02-06 | -0/+37 |
| | | | | | | Don't change logged-in user from an admin when visiting a auto-login URL. Closes #306. | |||
* | Eliminate trailing spaces in test names | Robin Houston | 2012-02-03 | -1/+1 |
| | | | | Really, what was that about? | |||
* | Load all fixtures for all tests | Robin Houston | 2012-01-31 | -10/+0 |
| | | | | | | | | | The ad hoc specification of fixtures has been an ongoing source of bugs in the tests. The straw that broke the camel’s back is that 7c6eb09 requires the fixtures to be loaded in order (i.e. children before their parents), and it would have been a painful process to reorder all the dozens of different fixture lists, but the test system ought to be more reliable this way. | |||
* | More test data, and fix tests | Robin Houston | 2012-01-29 | -2/+6 |
| | | | | | | Add some more test data, and fix the tests to accommodate both this new test data and the fact that raw emails are now correctly loaded into the test environment. | |||
* | Load all raw emails for testing | Robin Houston | 2012-01-29 | -1/+1 |
| | | | | | | | | | | | Previously there was just one raw email, and the test code relied on that fact. Generalise it to handle multiple raw emails. This change causes a number of tests to fail, because it exposes failures that should have happened when the second raw email was added but were masked by the fact that the text of this second raw email was never loaded. These failures will be fixed in the next commit. | |||
* | Refactor test code so new test data can be added | Robin Houston | 2012-01-26 | -7/+10 |
| | | | | | | | | Previously many of the tests made assumptions about the global structure of the test data set: the total number of requests, for example, or the names of all public bodies. This makes it difficult to add to the test data. This change is intended to make the test data easier to extend by eliminating such global assumptions. | |||
* | Merge branch 'wdtk' of github.com:sebbacon/alaveteli into wdtk | Seb Bacon | 2012-01-25 | -4/+21 |
|\ | | | | | | | | | Conflicts: app/controllers/request_controller.rb | |||
| * | More better test isolation | Robin Houston | 2012-01-24 | -0/+1 |
| | | | | | | | | | | Towards #361. Fixes: spec/models/xapian_spec.rb spec/controllers/user_controller_spec.rb | |||
| * | Be sure to restore RoutingFilters | Robin Houston | 2012-01-20 | -4/+20 |
| | | | | | | | | | | | | There were some order-dependent test failures that turned out to be caused by the fact that the RoutingFilters were cleared and not subsequently restored, by some tests. | |||
* | | Return a 404 for missing user profile pictures. Fixes #363 | Seb Bacon | 2012-01-24 | -0/+7 |
|/ | ||||
* | Fix bug introduced in cec2c545e0a10e0641c4ee67839c88d872b394b8, related to ↵ | Seb Bacon | 2012-01-13 | -1/+1 |
| | | | | issue #343. | |||
* | Accounts using expired PostRedirects were still causing 500 errors. Fixes ↵ | Seb Bacon | 2012-01-12 | -2/+3 |
| | | | | #334 (again) | |||
* | Don't give an error to users with an invalid postredirect token. Closes #334. | Seb Bacon | 2012-01-11 | -0/+13 |
| | ||||
* | Make test less brittle | Seb Bacon | 2012-01-06 | -2/+2 |
| | ||||
* | Reintroduce a "my requests" link. Fixes #289. | Seb Bacon | 2012-01-02 | -0/+10 |
| | ||||
* | Merge remote-tracking branch 'jpmckinney/pre1.9' into develop | Seb Bacon | 2011-11-24 | -2/+3 |
|\ | | | | | | | | | Conflicts: spec/controllers/request_controller_spec.rb | |||
| * | call #first on from_addrs and to_addrs before calling #to_s | James McKinney | 2011-10-16 | -2/+2 |
| | | ||||
| * | add encoding magic comments and fix paths | James McKinney | 2011-10-16 | -0/+1 |
| | | ||||
* | | allow specs to run independently | James McKinney | 2011-10-16 | -1/+1 |
|/ | ||||
* | fix fixtures order to avoid postgresql foreign key errors | James McKinney | 2011-10-11 | -1/+1 |
| | ||||
* | Merge branch 'wdtk' into develop | Robin Houston | 2011-09-08 | -3/+3 |
|\ | | | | | | | | | | | Conflicts: config/general.yml-example spec/models/track_mailer_spec.rb | |||
| * | Fix User.should_be_emailed? | Robin Houston | 2011-09-08 | -3/+3 |
| | | | | | | | | | | The User.should_be_emailed? method needs to be public. It should also be tested. | |||
* | | Store user's locale against profile, so we can send them localised track ↵ | Seb Bacon | 2011-09-03 | -0/+13 |
| | | | | | | | | emails. Also internationalize more strings at the same time. Fixes #163. | |||
* | | Provide a search function on the user profile pages. Closes #138. | Seb Bacon | 2011-09-01 | -0/+7 |
|/ | ||||
* | Anneal brittle test | Robin Houston | 2011-08-24 | -1/+3 |
| | ||||
* | I18n'd hardcoded WhatDoTheyKnow strings, mostly in mails. Use named variable ↵ | David Cabo | 2011-08-11 | -2/+2 |
| | | | | substitution in gettext strings. | |||
* | To make tests pass with RawEmails on the filesystem, instead of hacky ↵ | Seb Bacon | 2011-07-29 | -0/+3 |
| | | | | 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. | |||
* | changes to get tests to pass with IZ fork and new routing-filter gem | Seb Bacon | 2011-07-11 | -2/+5 |
| | ||||
* | Remove the translate_routes plugin, for now, because it appears to | Robin Houston | 2011-07-06 | -1/+1 |
| | | | | be the cause of several difficult bugs related to routing. | |||
* | Make sure the :public_body_translation fixture is included everywhere the ↵ | Robin Houston | 2011-06-09 | -1/+1 |
| | | | | :public_bodies fixture is, because the PublicBody objects do not work as expected without it. | |||
* | Don't store passwords in post_params. | Louise Crow | 2011-05-16 | -2/+1 |
| | ||||
* | some test fixage | Seb Bacon | 2011-03-11 | -2/+3 |
| | ||||
* | Check that full error message is being displayed without interpolated ↵ | Louise Crow | 2011-02-24 | -1/+1 |
| | | | | attribute name. | |||
* | install fixture necessary for test to pass (not sure how this worked ↵ | Seb Bacon | 2010-12-30 | -2/+2 |
| | | | | previously...) | |||
* | Test for users. | Francis Irving | 2010-10-18 | -0/+21 |
| | ||||
* | Make path work in Ruby 1.9 | Francis Irving | 2010-09-15 | -1/+1 |
| | ||||
* | Fix HTML nesting | Francis Irving | 2010-07-15 | -2/+2 |
| | ||||
* | Fix HTML | Francis Irving | 2010-07-15 | -4/+6 |
| | ||||
* | Change test to work with new action name | Francis Irving | 2010-07-14 | -4/+4 |
| | ||||
* | Some more tests for profile photos. | Francis Irving | 2010-07-14 | -2/+21 |
| | ||||
* | Factor out common bits. | Francis Irving | 2010-07-14 | -9/+11 |
| | ||||
* | Get picture posting to work | Francis Irving | 2010-07-14 | -3/+7 |
| | ||||
* | Test for submitting profile photo. Clean up HTML. | Francis Irving | 2010-07-14 | -0/+12 |
| | ||||
* | Use new name of action | Francis Irving | 2010-07-14 | -2/+2 |
| |