aboutsummaryrefslogtreecommitdiffstats
path: root/spec/integration/errors_spec.rb
Commit message (Collapse)AuthorAgeLines
* For non-HTML requests, just return the response code for now.Louise Crow2013-06-03-0/+17
|
* Add encoding line as we use utf-8 in the tests.Louise Crow2013-05-02-0/+1
|
* Add logging of any errors.Louise Crow2013-05-02-1/+6
|
* Clearer setting of status code, addition of notification.Louise Crow2013-05-02-3/+5
|
* Rewrite specs to more clearly represent expected behaviour - exceptions and ↵Louise Crow2013-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 testsMatthew Landauer2013-03-19-4/+0
|
* There's really no need to test the internals of RailsMatthew Landauer2013-01-31-9/+0
|
* if the response code doesn't match, the failure message is unhelpfulJames McKinney2012-11-01-2/+7
|
* File.dirname(__FILE__) is not necessarily absoluteRobin Houston2012-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 testsRobin Houston2012-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 testingRobin Houston2012-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 Bacon2012-01-17-3/+6
|
* Further refinement for issue #340Seb Bacon2012-01-13-0/+2
|
* Return 404 for non-existent 'details' pages. Fixes #325Seb Bacon2012-01-12-0/+4
|
* Return 403 when attachment "folders" are spidered. Fixes #340Seb Bacon2012-01-12-0/+4
|
* allow specs to run independentlyJames McKinney2011-10-16-9/+13
|
* Fix integration test breaking custom states specDavid Cabo2011-09-03-18/+2
|
* Distinguish between 404s and other errors. Fixes #161.Seb Bacon2011-08-30-0/+61