diff options
author | Louise Crow <louise.crow@gmail.com> | 2014-11-10 14:50:49 +0000 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2014-11-10 14:50:49 +0000 |
commit | e7c060068edcd2b47cd9b2306364ad2ff12ab0f9 (patch) | |
tree | 3ace8af06787732a88ce30a4b179f73b3d236d01 /spec/controllers/help_controller_spec.rb | |
parent | ce28b7b52bb931f94a977a55c0fd184dc220e1f5 (diff) | |
parent | 30124584b611eaa5747fb8032ce14393c3515a24 (diff) |
Merge branch 'rails-3-develop' of ssh://git.mysociety.org/data/git/public/alaveteli into rails-3-develop
Diffstat (limited to 'spec/controllers/help_controller_spec.rb')
-rw-r--r-- | spec/controllers/help_controller_spec.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/spec/controllers/help_controller_spec.rb b/spec/controllers/help_controller_spec.rb index f92323f50..9453c9461 100644 --- a/spec/controllers/help_controller_spec.rb +++ b/spec/controllers/help_controller_spec.rb @@ -4,6 +4,15 @@ require File.expand_path(File.dirname(__FILE__) + '/../spec_helper') describe HelpController do render_views + describe :index do + + it 'redirects to the about page' do + get :index + expect(response).to redirect_to(help_about_path) + end + + end + describe :about do it 'shows the about page' do |