Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | For non-HTML requests, just return the response code for now. | Louise Crow | 2013-06-03 | -0/+17 |
| | ||||
* | Add encoding line as we use utf-8 in the tests. | Louise Crow | 2013-05-02 | -0/+1 |
| | ||||
* | Add logging of any errors. | Louise Crow | 2013-05-02 | -1/+6 |
| | ||||
* | Clearer setting of status code, addition of notification. | Louise Crow | 2013-05-02 | -3/+5 |
| | ||||
* | Rewrite specs to more clearly represent expected behaviour - exceptions and ↵ | Louise Crow | 2013-05-02 | -29/+94 |
| | | | | 404s on non-local requests are to be rendered with our custom template (such that this template can be overriden by themes in the usual way). Note that requests to the admin interface are considered local. | |||
* | Remove test of rails internals that is somehow interfering with other tests | Matthew Landauer | 2013-03-19 | -4/+0 |
| | ||||
* | There's really no need to test the internals of Rails | Matthew Landauer | 2013-01-31 | -9/+0 |
| | ||||
* | if the response code doesn't match, the failure message is unhelpful | James McKinney | 2012-11-01 | -2/+7 |
| | ||||
* | File.dirname(__FILE__) is not necessarily absolute | Robin Houston | 2012-06-03 | -1/+1 |
| | | | | | | | It’s weird that there’s so much code here that implicitly assumes File.dirname(__FILE__) is an absolute path, because really in general it very much is not! This assumption was invalidated by the recent bundler-awareness changes. | |||
* | Load all fixtures for all tests | Robin Houston | 2012-01-31 | -14/+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 | -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. | |||
* | Don't allow directory listings (better fix for and closes #340). | Seb Bacon | 2012-01-17 | -3/+6 |
| | ||||
* | Further refinement for issue #340 | Seb Bacon | 2012-01-13 | -0/+2 |
| | ||||
* | Return 404 for non-existent 'details' pages. Fixes #325 | Seb Bacon | 2012-01-12 | -0/+4 |
| | ||||
* | Return 403 when attachment "folders" are spidered. Fixes #340 | Seb Bacon | 2012-01-12 | -0/+4 |
| | ||||
* | allow specs to run independently | James McKinney | 2011-10-16 | -9/+13 |
| | ||||
* | Fix integration test breaking custom states spec | David Cabo | 2011-09-03 | -18/+2 |
| | ||||
* | Distinguish between 404s and other errors. Fixes #161. | Seb Bacon | 2011-08-30 | -0/+61 |