Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | Eliminate trailing spaces in test names | Robin Houston | 2012-02-03 | -1/+1 |
| | | | | Really, what was that about? | |||
* | Better test assertions | Robin Houston | 2012-02-03 | -17/+17 |
| | | | | | Change the test assertions so they give more informative errors when they fail -- as they sometimes do: see issue #408. | |||
* | Update test | Robin Houston | 2012-01-31 | -1/+1 |
| | | | | Update test to take account of change 76fd5f9. | |||
* | Load all fixtures for all tests | Robin Houston | 2012-01-31 | -40/+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. | |||
* | Load all raw emails for testing | Robin Houston | 2012-01-29 | -22/+22 |
| | | | | | | | | | | | 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. | |||
* | Remove stray puts in test code | Robin Houston | 2012-01-27 | -1/+0 |
| | | | | | This was added for temporary debugging purposes, and ought to have been removed. | |||
* | Refactor test code so new test data can be added | Robin Houston | 2012-01-26 | -39/+33 |
| | | | | | | | | 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. | |||
* | A couple more test isolation failures | Robin Houston | 2012-01-24 | -0/+2 |
| | | | | Towards #361 | |||
* | Make sure the raw emails are loaded | Robin Houston | 2012-01-24 | -38/+14 |
| | | | | | This fixes (at least) one of the failures in #361, viz spec/controllers/admin_request_controller_spec.rb spec/models/xapian_spec.rb | |||
* | Improve test isolation | Robin Houston | 2012-01-22 | -1/+2 |
| | | | | This test was failing if run after, for example, general_controller_spec.rb. | |||
* | Merge branch 'wdtk' of github.com:sebbacon/alaveteli into wdtk | Seb Bacon | 2012-01-19 | -0/+15 |
|\ | ||||
| * | Merge branch 'wdtk' of github.com:sebbacon/alaveteli into wdtk | Robin Houston | 2012-01-19 | -0/+7 |
| |\ | ||||
| | * | Don't raise an error if the user deletes a track through the UI. Fixes #353. | Seb Bacon | 2012-01-18 | -0/+7 |
| | | | ||||
| * | | Fix sporadic spurious test failures | Robin Houston | 2012-01-19 | -0/+8 |
| |/ | | | | | | | | | ...by forcing the IncomingMessage to be re-parsed after we have edited it. | |||
* / | Always show the right search snippet. Fixes #352. | Seb Bacon | 2012-01-19 | -0/+7 |
|/ | ||||
* | Merge branch 'fast-search-hack' into wdtk. Addresses the second slow SQL ↵ | Seb Bacon | 2012-01-13 | -1/+4 |
|\ | | | | | | | example at issue #327, at least in part. | |||
| * | Changes to make normal search pages not necessarily load info_request_events ↵ | Seb Bacon | 2012-01-12 | -1/+4 |
| | | | | | | | | every time | |||
* | | Fix bug introduced in cec2c545e0a10e0641c4ee67839c88d872b394b8, related to ↵ | Seb Bacon | 2012-01-13 | -8/+11 |
| | | | | | | | | issue #343. | |||
* | | To get around occasional race conditions, instead of forcing an fsync, retry ↵ | Seb Bacon | 2012-01-13 | -9/+9 |
|/ | | | | getting the body a few times before failing. May be related to issue #333 and #339 | |||
* | Use correct column type for sent_at date (was only preserving time and not ↵ | Seb Bacon | 2012-01-10 | -0/+2 |
| | | | | date, resulting in incoming_messages all apparently being sent on January 1, 2000) | |||
* | Test for commit caff0a3ff2e38a5aab906baa4cc77d30587e1184 (ensure we always ↵ | Seb Bacon | 2012-01-09 | -0/+36 |
| | | | | regenerate attachments cache when necessary) | |||
* | Ensure attachments have been parsed before generating cached extracts | Seb Bacon | 2012-01-05 | -0/+7 |
| | ||||
* | Correctly test for auto-submitted headers. Fixes #316. | Seb Bacon | 2012-01-05 | -14/+13 |
| | ||||
* | Display internationalized emails correctly (specifically, RFC2047 headers, ↵ | Seb Bacon | 2012-01-04 | -0/+22 |
| | | | | and HTML emails with encoding in a meta-tag). Fixes #281 | |||
* | Ensure we always censor safe_mail_from; and mention new only-parse-once ↵ | Seb Bacon | 2011-12-21 | -5/+3 |
| | | | | feature in CHANGES.md | |||
* | Further improvements to attachment caching | Seb Bacon | 2011-12-13 | -9/+12 |
| | ||||
* | WIP on caching attachments | Seb Bacon | 2011-12-12 | -31/+44 |
| | ||||
* | add ability to rebuild specific terms rather than all indices -- useful for ↵ | Seb Bacon | 2011-12-05 | -1/+82 |
| | | | | migrations where new terms have been added (see rake:xapian:rebuild_index help) | |||
* | Always create a the Internal Admin Authority using the default locale. ↵ | Seb Bacon | 2011-12-02 | -0/+12 |
| | | | | Fixes #303. | |||
* | Merge branch 'develop' into xapian-dcabo | Seb Bacon | 2011-11-24 | -47/+48 |
|\ | | | | | | | | | Conflicts: spec/models/xapian_spec.rb | |||
| * | Merge remote-tracking branch 'jpmckinney/pre1.9' into develop | Seb Bacon | 2011-11-24 | -18/+19 |
| |\ | | | | | | | | | | | | | Conflicts: spec/controllers/request_controller_spec.rb | |||
| | * | sort hash keys consistently in Ruby 1.8 and 1.9 | James McKinney | 2011-10-17 | -12/+12 |
| | | | ||||
| | * | add safe_mock_model to safely handle #to_ary calls in 1.9 | James McKinney | 2011-10-17 | -6/+6 |
| | | | ||||
| | * | add encoding magic comments and fix paths | James McKinney | 2011-10-16 | -0/+1 |
| | | | ||||
| * | | allow specs to run independently | James McKinney | 2011-10-16 | -29/+29 |
| |/ | ||||
* | | Merge branch 'develop' into xapian-dcabo | seb | 2011-11-24 | -84/+321 |
|\| | | | | | | | | | Conflicts: spec/models/xapian_spec.rb | |||
| * | Merge pull request #268 from jpmckinney/fix_fixtures_order | Seb Bacon | 2011-10-12 | -11/+11 |
| |\ | | | | | | | Fix fixtures order | |||
| | * | fix fixtures order to avoid postgresql foreign key errors | James McKinney | 2011-10-11 | -11/+11 |
| | | | ||||
| * | | test folded sections and fix fixture ordering | James McKinney | 2011-10-11 | -4/+16 |
| |/ | ||||
| * | Improve signature folding regexp. Fixes issue #253. | Seb Bacon | 2011-10-11 | -0/+9 |
| | | ||||
| * | Ensure we only return true from alert-tracks process when we've actually ↵ | Seb Bacon | 2011-10-03 | -0/+6 |
| | | | | | | | | done something. Fixes #247. | |||
| * | Check against default locale more robustly when importing public bodies. ↵ | David Cabo | 2011-09-24 | -1/+4 |
| | | | | | | | | Fixes #193 | |||
| * | Add test for issues #191 and #192, and fix existing ones | David Cabo | 2011-09-24 | -18/+28 |
| | | ||||
| * | Add support for add/replace tags when importing public bodies from CSV. ↵ | David Cabo | 2011-09-19 | -24/+46 |
| | | | | | | | | Fixes #60 | |||
| * | Add support for tags to CSV import, via field "tag_string" (issue #60) | David Cabo | 2011-09-13 | -6/+26 |
| | | ||||
| * | Make tag optional when importing public bodies through CSV (issue #60) | David Cabo | 2011-09-13 | -0/+22 |
| | | ||||
| * | Improve detection of autoresponse emails, so we can discourage users from ↵ | Seb Bacon | 2011-09-09 | -7/+53 |
| | | | | | | | | replying to them. Fixes #137 (partially) | |||
| * | Remove stray (debugging?) puts statement | Robin Houston | 2011-09-08 | -1/+0 |
| | | ||||
| * | Merge branch 'wdtk' into develop | Robin Houston | 2011-09-08 | -1/+55 |
| |\ | | | | | | | | | | | | | | | | Conflicts: config/general.yml-example spec/models/track_mailer_spec.rb | |||
| | * | Fix User.should_be_emailed? | Robin Houston | 2011-09-08 | -0/+12 |
| | | | | | | | | | | | | | | | The User.should_be_emailed? method needs to be public. It should also be tested. |