Commit a8142d0b9268dfaee614a01ca6edbfa418f2120a

Authored by Antonio Terceiro
1 parent 430d2a09

Fix integration test

(ActionItem1608)
Showing 1 changed file with 3 additions and 3 deletions   Show diff stats
test/integration/manage_documents_test.rb
... ... @@ -8,7 +8,7 @@ class ManageDocumentsTest < ActionController::IntegrationTest
8 8 create_user('myuser')
9 9  
10 10 login('myuser', 'myuser')
11   - assert_tag :tag => 'a', :attributes => { :href => '/myprofile/myuser' }
  11 + assert_tag :tag => 'a', :attributes => { :href => '/myprofile/%{login}' }
12 12  
13 13 get '/myprofile/myuser'
14 14 assert_response :success
... ... @@ -38,7 +38,7 @@ class ManageDocumentsTest < ActionController::IntegrationTest
38 38 article.save!
39 39  
40 40 login('myuser', 'myuser')
41   - assert_tag :tag => 'a', :attributes => { :href => '/myprofile/myuser' }
  41 + assert_tag :tag => 'a', :attributes => { :href => '/myprofile/%{login}' }
42 42  
43 43 get '/myprofile/myuser'
44 44 assert_response :success
... ... @@ -72,7 +72,7 @@ class ManageDocumentsTest < ActionController::IntegrationTest
72 72  
73 73 login('myuser', 'myuser')
74 74  
75   - assert_tag :tag => 'a', :attributes => { :href => '/myprofile/myuser' }
  75 + assert_tag :tag => 'a', :attributes => { :href => '/myprofile/%{login}' }
76 76 get '/myprofile/myuser'
77 77 assert_response :success
78 78  
... ...