diff options
author | Louise Crow <louise.crow@gmail.com> | 2014-09-25 13:16:53 +0100 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2014-09-25 13:16:53 +0100 |
commit | c04926740ea6c4b9c445010f457de619b041adbe (patch) | |
tree | 9b266aef8ff80efd9f4fa16cc5242a552adecafc | |
parent | fd9e716d94275372e89277ae281d7186526383d3 (diff) |
fixup! Basic category admin screen
-rw-r--r-- | config/routes.rb | 1 | ||||
-rw-r--r-- | spec/controllers/admin_public_body_heading_controller_spec.rb | 8 |
2 files changed, 0 insertions, 9 deletions
diff --git a/config/routes.rb b/config/routes.rb index e87a2a98b..3aff84c4b 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -189,7 +189,6 @@ Alaveteli::Application.routes.draw do #### #### AdminPublicBodyHeading controller - match '/admin/category_heading' => 'admin_public_body_heading#index' match '/admin/category_heading/reorder' => 'admin_public_body_heading#reorder', :as => :admin_heading_reorder, :via => :post match '/admin/category_heading/new' => 'admin_public_body_heading#new', :as => :admin_heading_new match '/admin/category_heading/edit/:id' => 'admin_public_body_heading#edit', :as => :admin_heading_edit diff --git a/spec/controllers/admin_public_body_heading_controller_spec.rb b/spec/controllers/admin_public_body_heading_controller_spec.rb index d41b09807..8d9833fe9 100644 --- a/spec/controllers/admin_public_body_heading_controller_spec.rb +++ b/spec/controllers/admin_public_body_heading_controller_spec.rb @@ -1,14 +1,6 @@ require 'spec_helper' describe AdminPublicBodyHeadingController do - context 'when showing the index of categories and headings' do - render_views - - it 'redirect to the category list page from the index' do - get :index - response.should redirect_to :admin_category_index - end - end context 'when showing the form for a new public body category' do it 'should assign a new public body heading to the view' do |