aboutsummaryrefslogtreecommitdiffstats
path: root/spec/controllers/application_controller_spec.rb
Commit message (Collapse)AuthorAgeLines
* Rewrite specs that were in spec/controller/application_controller as ↵Louise Crow2012-12-17-54/+0
| | | | full-stack controller specs in the relevant controllers. It turns out that having spec blocks that reference the ApplicationController class directly i.e. "describe ApplicationController" can have unpredictable effects. actionpack's action_controller/test_case.rb rewrites rescue_action_without_handler on whatever it is included in, and if this is done on a controller class, and then directly on action controller, it can result in an infinite loop of recursive calls. This turns out to be the problem that was causing some tests in error_spec.rb to fail in Travis under Ruby 1.9.
* Merge branch 'release/0.6.8' into developLouise Crow2012-11-12-11/+11
|\ | | | | | | | | Conflicts: lib/world_foi_websites.rb
| * Stub configuration in order to setup test cases. Previous direct setting of ↵Louise Crow2012-11-12-11/+11
| | | | | | | | config values was not isolated to particular tests.
* | Pass a hash of params to foi_fragment_cache_path in spec, as is passed in ↵Louise Crow2012-11-08-1/+8
|/ | | | actual usage.
* Merge branch 'wdtk' of github.com:sebbacon/alaveteli into wdtkSeb Bacon2012-01-19-1/+14
|\
| * Fix more test breakageSeb Bacon2012-01-18-1/+7
| |
| * Catch timeouts and other extra errors when connection to 3rd party websites ↵Seb Bacon2012-01-18-1/+8
| | | | | | | | fails.
* | Don't choke on very long filenames when caching attachments. Fixes #349.Seb Bacon2012-01-19-0/+9
|/
* Fail silently if third party services are broken or unavailable. Fixes #354.Seb Bacon2012-01-17-6/+21
|
* Make path work in Ruby 1.9Francis Irving2010-09-15-1/+1
|
* Part of upgrade to rails 2.3.2Francis Irving2009-12-02-0/+10