diff options
author | Louise Crow <louise.crow@gmail.com> | 2014-10-23 16:50:23 +0100 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2014-10-30 11:14:15 +0000 |
commit | af1f0242ca7f19672725f8a60050902976c5f0a1 (patch) | |
tree | d06c5e511f5c6d923d51224d8b331879b1576042 /spec/controllers/admin_general_controller_spec.rb | |
parent | 921ee9a19c267bb0e6e784091b985f3ba80d835b (diff) |
Remove redirect to trailing slash URL.
Introduced in 4f501309ade230f65f4ba45e1d0161e89587d755 but no longer
needed as we don't proxy the admin interface.
Diffstat (limited to 'spec/controllers/admin_general_controller_spec.rb')
-rw-r--r-- | spec/controllers/admin_general_controller_spec.rb | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/spec/controllers/admin_general_controller_spec.rb b/spec/controllers/admin_general_controller_spec.rb index 971960762..cc2ec41b4 100644 --- a/spec/controllers/admin_general_controller_spec.rb +++ b/spec/controllers/admin_general_controller_spec.rb @@ -8,13 +8,8 @@ describe AdminGeneralController do before { basic_auth_login @request } it "should render the front page" do - get :index, :suppress_redirect => 1 - response.should render_template('index') - end - - it "should redirect to include trailing slash" do get :index - response.should redirect_to admin_general_index_url(:trailing_slash => true) + response.should render_template('index') end end |