Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | Rewrite specs that were in spec/controller/application_controller as ↵ | Louise Crow | 2012-12-17 | -2/+44 |
| | | | | 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. | |||
* | Add before and after methods to isolate any effect these tests have on locale. | Louise Crow | 2012-08-01 | -2/+12 |
| | ||||
* | Make the logic that tells you about other countries' Alavetelis prefer the ↵ | Seb Bacon | 2012-05-30 | -3/+5 |
| | | | | browser language; and make the tests pass. | |||
* | Flash a message to users from outside the deployed country, telling them ↵ | Seb Bacon | 2011-09-05 | -0/+31 |
about either (a) a website in their country, or (b) the existence of Alaveteli to help them make one themselves. Closes #124. |