aboutsummaryrefslogtreecommitdiffstats
path: root/spec/helpers
Commit message (Collapse)AuthorAgeLines
* Switch routing-filter (which takes locale out of the params and puts it in ↵Louise Crow2013-07-18-5/+0
| | | | the URL) off by default in model, controller, and helper tests. This means we can supply the locale as a param. Turn it on specifically for a couple of controller tests that test routing, and change other url localization tests into integration tests.
* admin_url was removed in 902631ec4f5e1a16b8f08a2ed0ccc86ad2b72c6cHenare Degan2013-03-15-26/+0
|
* main_url was removed in 4c9f7f7f12a47b516137bf000c3f36120033a077Henare Degan2013-03-15-12/+0
|
* Merge remote-tracking branch 'mysociety/develop' into rails-3-developHenare Degan2013-03-14-2/+2
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: Gemfile Gemfile.lock app/controllers/admin_request_controller.rb app/controllers/admin_track_controller.rb app/controllers/request_controller.rb app/controllers/services_controller.rb app/helpers/link_to_helper.rb app/mailers/request_mailer.rb app/models/application_mailer.rb app/models/info_request.rb app/views/admin_censor_rule/edit.html.erb app/views/admin_censor_rule/new.html.erb app/views/admin_public_body/_form.html.erb app/views/admin_public_body/_locale_selector.html.erb app/views/admin_public_body/_one_list.html.erb app/views/admin_public_body/edit.html.erb app/views/admin_public_body/list.html.erb app/views/admin_public_body/new.html.erb app/views/admin_request/_incoming_message_actions.html.erb app/views/admin_request/edit.html.erb app/views/admin_request/edit_comment.html.erb app/views/admin_request/edit_outgoing.html.erb app/views/admin_request/list.html.erb app/views/admin_request/list_old_unclassified.html.erb app/views/admin_request/show.html.erb app/views/admin_track/_some_tracks.html.erb app/views/admin_track/list.html.erb app/views/admin_user/edit.html.erb app/views/admin_user/list.html.erb app/views/admin_user/show.html.erb app/views/general/_footer.html.erb app/views/general/exception_caught.html.erb app/views/help/contact.html.erb app/views/layouts/default.html.erb app/views/public_body/_alphabet.html.erb app/views/request/_request_listing_single.html.erb app/views/request/_sidebar.html.erb app/views/request/new.html.erb app/views/request/show.html.erb app/views/request_mailer/external_response.rhtml app/views/request_mailer/fake_response.rhtml config/environment.rb config/environments/production.rb config/routes.rb spec/controllers/admin_censor_rule_controller_spec.rb spec/controllers/request_controller_spec.rb spec/controllers/track_controller_spec.rb spec/helpers/link_to_helper_spec.rb spec/mailers/request_mailer_spec.rb spec/models/info_request_spec.rb spec/spec_helper.rb spec/views/public_body/show.html.erb_spec.rb spec/views/request/show.html.erb_spec.rb vendor/plugins/rails_xss/lib/rails_xss/erubis.rb
| * Stop using admin_url to generate absolute url for the admin interfaceMatthew Landauer2013-02-15-26/+0
| |
| * Stop using main_url to generate absolute urls for the main siteMatthew Landauer2013-02-15-12/+0
| |
| * Rename helper methodMatthew Landauer2013-02-15-2/+2
| |
* | Rename Configuration class to avoid conflict with ActiveSupport::ConfigurableHenare Degan2013-03-03-1/+1
| |
* | Disable routing filter in tests by using RoutingFilter.active rather than ↵Matthew Landauer2013-01-25-3/+2
|/ | | | writing to ActionController::Routing::Routes.filters
* Fix regression by allowing Date objects tooHenare Degan2012-11-21-0/+4
|
* Make simple_date respect the time zoneHenare Degan2012-11-18-0/+8
|
* Change the behaviour of admin_url to always return a full URLHenare Degan2012-10-04-2/+2
|
* Correct default value for ADMIN_BASE_URLHenare Degan2012-10-04-2/+2
| | | | Back in 008e64e7 it was changed so that you could just set a blank value instead of '/admin/', it looks like test.yml was never updated and somehow lib/configuration.rb started off with the old value too.
* Describe the current behavior of admin_urlHenare Degan2012-10-04-0/+25
|
* Update spec for previous commit.Louise Crow2012-08-29-2/+2
|
* Fix for the case where an external request has no user_nameLouise Crow2012-08-29-11/+21
|
* Let admin users use auto-login URLsRobin Houston2012-02-06-3/+3
| | | | | | Don't change logged-in user from an admin when visiting a auto-login URL. Closes #306.
* Be sure to restore RoutingFiltersRobin Houston2012-01-20-1/+6
| | | | | | There were some order-dependent test failures that turned out to be caused by the fact that the RoutingFilters were cleared and not subsequently restored, by some tests.
* Don't choke on unescaped characters in URIs. Fixes #335.Seb Bacon2012-01-11-0/+12
|
* changes to get tests to pass with IZ fork and new routing-filter gemSeb Bacon2011-07-11-1/+2
|
* Make path work in Ruby 1.9Francis Irving2010-09-15-1/+1
|
* Allowing extra parameters to be passed to request_urllouise2009-04-03-0/+23