From 99ee2895a7f9d82e69bf0764ee035f1673dc15f3 Mon Sep 17 00:00:00 2001 From: AntonioTerceiro Date: Wed, 18 Jul 2007 23:38:54 +0000 Subject: [PATCH] ActionItem9: fixing test; adding link to logout --- app/views/account/index.rhtml | 1 + test/functional/account_controller_test.rb | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/views/account/index.rhtml b/app/views/account/index.rhtml index 9466e0b..509703f 100644 --- a/app/views/account/index.rhtml +++ b/app/views/account/index.rhtml @@ -1,3 +1,4 @@ <%= link_to _('Change password'), :action => 'change_password' %> <%= link_to _('Edit Personal details'), :action => 'edit_details' %> +<%= link_to _('Logout'), :action => 'logout' %> diff --git a/test/functional/account_controller_test.rb b/test/functional/account_controller_test.rb index ba34cc7..9ad1c56 100644 --- a/test/functional/account_controller_test.rb +++ b/test/functional/account_controller_test.rb @@ -115,7 +115,7 @@ class AccountControllerTest < Test::Unit::TestCase def test_should_display_anonymous_user_options get :index - assert_template 'index_unregistered' + assert_template 'index_anonymous' end def test_should_display_logged_in_user_options -- libgit2 0.21.2