Commit message (Collapse) | Author | Age | Lines | ||
---|---|---|---|---|---|
... | |||||
* | | Rename Configuration class to avoid conflict with ActiveSupport::Configurable | Henare Degan | 2013-03-03 | -9/+9 | |
| | | |||||
* | | response.redirected_to is deprecated | Henare Degan | 2013-03-03 | -1/+1 | |
| | | |||||
* | | Rename ALL THE TEMPLATES!!1!!!one!!1!! | Henare Degan | 2013-02-27 | -1/+1 | |
| | | | | | | | | .rhtml is deprecated in favour of .erb in Rails 3 | ||||
* | | file_name is passed as a string not an array | Henare Degan | 2013-02-26 | -22/+21 | |
| | | |||||
* | | Update to new mail sending API | Henare Degan | 2013-02-25 | -5/+9 | |
| | | |||||
* | | Update to new mail sending API | Henare Degan | 2013-02-25 | -1/+1 | |
| | | |||||
* | | response.flash has been deprecated | Henare Degan | 2013-02-25 | -6/+6 | |
| | | |||||
* | | Correct syntax and reload for Ruby 1.9.3 | Henare Degan | 2013-02-21 | -1/+1 | |
| | | |||||
* | | Mark this test as pending until it's fixed. See #819 | Henare Degan | 2013-02-20 | -6/+9 | |
| | | |||||
* | | Spec is deprecated in favour of RSpec | Henare Degan | 2013-02-14 | -1/+1 | |
| | | |||||
* | | This parameter is typecast in Rails 3 | Henare Degan | 2013-02-07 | -1/+1 | |
| | | |||||
* | | Handling of globbed parameters in routes has changed | Matthew Landauer | 2013-02-01 | -9/+9 | |
| | | |||||
* | | Cast mail.body to string before matching with a regex | Matthew Landauer | 2013-01-31 | -1/+1 | |
| | | |||||
* | | Test result of test with examples rather than another implementation | Matthew Landauer | 2013-01-31 | -5/+14 | |
| | | |||||
* | | Merge branch 'i18n_rails3_preparation' into rails-3-spike | Matthew Landauer | 2013-01-31 | -9/+5 | |
|\ \ | | | | | | | | | | | | | | | | | | | | | | Conflicts: Gemfile.lock app/controllers/general_controller.rb app/controllers/public_body_controller.rb spec/controllers/public_body_controller_spec.rb | ||||
| * | | Set locale with I18n rather than through globalize | Matthew Landauer | 2013-01-17 | -7/+7 | |
| | | | |||||
| * | | Set locale in controller test by passing parameter in get | Matthew Landauer | 2013-01-16 | -9/+5 | |
| |/ | | | | | | | Also using I18n.locale to pass the current locale around. | ||||
* | | Updated test to correctly test what it was testing | Matthew Landauer | 2013-01-30 | -2/+1 | |
| | | |||||
* | | Find is now being called with an integer rather than a string. All good | Matthew Landauer | 2013-01-30 | -1/+1 | |
| | | |||||
* | | mail from_addrs now doesn't return the name | Matthew Landauer | 2013-01-29 | -1/+1 | |
| | | |||||
* | | errors returns an array now | Matthew Landauer | 2013-01-29 | -1/+1 | |
| | | |||||
* | | params_from doesn't exist anymore | Matthew Landauer | 2013-01-29 | -2/+2 | |
| | | |||||
* | | When matching mail.body with regex cast to string first | Matthew Landauer | 2013-01-29 | -3/+3 | |
| | | |||||
* | | Replace use of response.should send_email with checking ↵ | Matthew Landauer | 2013-01-29 | -4/+4 | |
| | | | | | | | | ActionMailer::Base.deliveries | ||||
* | | Clear out ActionMailer::Base.deliveries before each test. Rspec should be ↵ | Matthew Landauer | 2013-01-29 | -33/+0 | |
| | | | | | | | | doing this but isn't for controller tests | ||||
* | | modernise redirect tests by converting to using url helpers | Matthew Landauer | 2013-01-29 | -7/+7 | |
| | | |||||
* | | When matching the body of an email to a regex cast it to a string | Matthew Landauer | 2013-01-29 | -6/+6 | |
| | | |||||
* | | Email address returned from mail doesn't have the name part anymore | Matthew Landauer | 2013-01-29 | -9/+9 | |
| | | |||||
* | | Pass string to paremeter in test | Matthew Landauer | 2013-01-29 | -1/+1 | |
| | | |||||
* | | When mocking ActsAsXapian can't use mock_model because it's not a model | Matthew Landauer | 2013-01-29 | -2/+2 | |
| | | |||||
* | | Reset Actionmailer deliveries on controller tests. Apparently rspec isn't ↵ | Matthew Landauer | 2013-01-29 | -0/+26 | |
| | | | | | | | | now doing this automatically | ||||
* | | Replace use of have_text with contain from webrat or match | Matthew Landauer | 2013-01-29 | -33/+33 | |
| | | |||||
* | | Correct use of have_selector in b37586c7165afb7b3447dfe2780169a88cb0a942. | Matthew Landauer | 2013-01-29 | -9/+17 | |
| | | |||||
* | | Replace use of have_tag with have_selector from webrat | Matthew Landauer | 2013-01-28 | -26/+26 | |
| | | |||||
* | | Use preceding slash on paths to fixtures files | Matthew Landauer | 2013-01-28 | -4/+4 | |
| | | |||||
* | | Disable routing filter in tests by using RoutingFilter.active rather than ↵ | Matthew Landauer | 2013-01-25 | -24/+16 | |
| | | | | | | | | writing to ActionController::Routing::Routes.filters | ||||
* | | Change method name as it conflicts with globalize3 method name | Henare Degan | 2013-01-24 | -1/+1 | |
| | | |||||
* | | Merge remote-tracking branch 'mysociety/develop' into rails-3-spike | Matthew Landauer | 2013-01-04 | -58/+129 | |
|\| | | | | | | | | | | | | | | | | | | | | | Conflicts: Gemfile.lock Rakefile app/controllers/request_controller.rb lib/tasks/rspec.rake spec/controllers/services_controller_spec.rb spec/spec_helper.rb spec/views/request/_after_actions.rhtml_spec.rb | ||||
| * | Only serve up 'similar' pages up to the offset we use for list. | Louise Crow | 2012-12-17 | -0/+8 | |
| | | |||||
| * | Adding mocking of incoming message id. | Louise Crow | 2012-12-17 | -0/+1 | |
| | | |||||
| * | Rewrite specs that were in spec/controller/application_controller as ↵ | Louise Crow | 2012-12-17 | -56/+71 | |
| | | | | | | | | 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 'hotfix/authenticate-and-expire-download-zips' into develop | Louise Crow | 2012-12-13 | -1/+11 | |
| |\ | |||||
| | * | Check that a request is publicly visible before generating a download link. | Louise Crow | 2012-12-13 | -1/+11 | |
| | | | |||||
| * | | Merge branch 'hotfix/no-html-conversion-for-hidden' into develop | Louise Crow | 2012-12-13 | -0/+15 | |
| |\| | |||||
| | * | Don't offer or allow viewing of an HTML version of a response attachment if ↵ | Louise Crow | 2012-12-13 | -0/+15 | |
| | | | | | | | | | | | | the request is hidden, or requester_only. Google docs viewer won't be able to access it, and our own conversion process currently can produce image files that will then be publicly viewable directly from the webserver (see config/httpd.conf). If necessary we can revisit this code to enable admins and requesters to view the HTML version created by our own conversion without adding these files to a path that is served directly by the web server. | ||||
| * | | Reformat for line length, add the expected response code. | Louise Crow | 2012-12-13 | -2/+9 | |
| | | | |||||
| * | | Don't offer or allow viewing of an HTML version of a request if it is ↵ | Louise Crow | 2012-12-13 | -0/+15 | |
| | | | | | | | | | | | | hidden, or requester_only. Google docs viewer won't be able to access it, and our own conversion process currently produces image files that will then be publicly viewable. If necessary we can revisit this code to enable admins and requesters to view the HTML version created by our own conversion without adding these files to a path that is served directly by the web server. | ||||
* | | | No need to specify extension when testing particular template is rendered | Matthew Landauer | 2013-01-04 | -7/+7 | |
| | | | |||||
* | | | response.status now returns an integer | Matthew Landauer | 2013-01-04 | -6/+6 | |
| | | | |||||
* | | | Get rid of resetting of ActionController::Routing::Routes.filters | Matthew Landauer | 2013-01-04 | -28/+0 | |
| | | |