Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | Whitelist UserController#signup params0.19.0.3hotfix/0.19.0.3 | Gareth Rees | 2014-09-09 | -0/+10 |
| | | | | Protects from mass-assignment exploit attempts | |||
* | Rename XXX comments with TODO: | Gareth Rees | 2014-06-10 | -4/+4 |
| | | | | Picks these up in `rake notes` and adds semantic meaning | |||
* | Display batch requests for user on 'my requests' page | Louise Crow | 2013-12-04 | -2/+4 |
| | | | | This is the most rudimentary possible way to give them access to the batch request urls, pending #1239 | |||
* | Refactor specs to make adding batch changes easier. | Louise Crow | 2013-12-04 | -30/+63 |
| | ||||
* | Handle the case of a name that hits the character limits and has been ↵ | Louise Crow | 2013-07-29 | -5/+25 |
| | | | | suffixed with a number. | |||
* | Switch routing-filter (which takes locale out of the params and puts it in ↵ | Louise Crow | 2013-07-18 | -19/+0 |
| | | | | the URL) off by default in model, controller, and helper tests. This means we can supply the locale as a param. Turn it on specifically for a couple of controller tests that test routing, and change other url localization tests into integration tests. | |||
* | Don't call out to external urls during controller tests | Louise Crow | 2013-06-20 | -0/+10 |
| | ||||
* | Add call to load_raw_emails_data to fix dependency on raw emails exposed in ↵ | Louise Crow | 2013-05-13 | -0/+1 |
| | | | | https://travis-ci.org/mysociety/alaveteli/jobs/7126060. | |||
* | Be a bit more exact | Henare Degan | 2013-03-05 | -1/+1 |
| | ||||
* | Use built in fixture_file_upload | Henare Degan | 2013-03-04 | -5/+2 |
| | ||||
* | This is cast to a string in Rails 3.1 | Henare Degan | 2013-03-04 | -1/+1 |
| | ||||
* | Rename Configuration class to avoid conflict with ActiveSupport::Configurable | Henare Degan | 2013-03-03 | -1/+1 |
| | ||||
* | Correct syntax and reload for Ruby 1.9.3 | Henare Degan | 2013-02-21 | -1/+1 |
| | ||||
* | This parameter is typecast in Rails 3 | Henare Degan | 2013-02-07 | -1/+1 |
| | ||||
* | mail from_addrs now doesn't return the name | Matthew Landauer | 2013-01-29 | -1/+1 |
| | ||||
* | errors returns an array now | Matthew Landauer | 2013-01-29 | -1/+1 |
| | ||||
* | params_from doesn't exist anymore | Matthew Landauer | 2013-01-29 | -2/+2 |
| | ||||
* | When matching mail.body with regex cast to string first | Matthew Landauer | 2013-01-29 | -3/+3 |
| | ||||
* | Replace use of response.should send_email with checking ↵ | Matthew Landauer | 2013-01-29 | -4/+4 |
| | | | | ActionMailer::Base.deliveries | |||
* | Replace use of have_tag with have_selector from webrat | Matthew Landauer | 2013-01-28 | -1/+1 |
| | ||||
* | Disable routing filter in tests by using RoutingFilter.active rather than ↵ | Matthew Landauer | 2013-01-25 | -15/+10 |
| | | | | writing to ActionController::Routing::Routes.filters | |||
* | integrate_views is render_views RSpec 2 | Henare Degan | 2012-12-11 | -9/+9 |
| | ||||
* | Use new function that copies existing xapian index in spec setup where a ↵ | Louise Crow | 2012-11-21 | -35/+35 |
| | | | | clean copy of the xapian index with fixtures loaded is required. | |||
* | 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 |