Commit ee6aa6721f2f7f17cc71f8671ae8cca5c060bdb9
1 parent
8416b4f2
Exists in
master
and in
29 other branches
ActionItem70: properly linking to the CMS
git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@511 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing
2 changed files
with
5 additions
and
1 deletions
Show diff stats
app/views/account/index.rhtml
test/integration/manage_documents_test.rb
@@ -9,6 +9,10 @@ class ManageDocumentsTest < ActionController::IntegrationTest | @@ -9,6 +9,10 @@ class ManageDocumentsTest < ActionController::IntegrationTest | ||
9 | 9 | ||
10 | login('ze', 'test') | 10 | login('ze', 'test') |
11 | 11 | ||
12 | + assert_tag :tag => 'a', :attributes => { :href => '/account' } | ||
13 | + get '/account' | ||
14 | + assert_response :success | ||
15 | + | ||
12 | assert_tag :tag => 'a', :attributes => { :href => '/myprofile/ze/cms' } | 16 | assert_tag :tag => 'a', :attributes => { :href => '/myprofile/ze/cms' } |
13 | 17 | ||
14 | get '/myprofile/ze/cms' | 18 | get '/myprofile/ze/cms' |