Commit 99ee2895a7f9d82e69bf0764ee035f1673dc15f3

Authored by AntonioTerceiro
1 parent 7b755d37

ActionItem9: fixing test; adding link to logout



git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@98 3f533792-8f58-4932-b0fe-aaf55b0a4547
app/views/account/index.rhtml
1 1
2 <%= link_to _('Change password'), :action => 'change_password' %> 2 <%= link_to _('Change password'), :action => 'change_password' %>
3 <%= link_to _('Edit Personal details'), :action => 'edit_details' %> 3 <%= link_to _('Edit Personal details'), :action => 'edit_details' %>
  4 +<%= link_to _('Logout'), :action => 'logout' %>
test/functional/account_controller_test.rb
@@ -115,7 +115,7 @@ class AccountControllerTest &lt; Test::Unit::TestCase @@ -115,7 +115,7 @@ class AccountControllerTest &lt; Test::Unit::TestCase
115 115
116 def test_should_display_anonymous_user_options 116 def test_should_display_anonymous_user_options
117 get :index 117 get :index
118 - assert_template 'index_unregistered' 118 + assert_template 'index_anonymous'
119 end 119 end
120 120
121 def test_should_display_logged_in_user_options 121 def test_should_display_logged_in_user_options