From a8142d0b9268dfaee614a01ca6edbfa418f2120a Mon Sep 17 00:00:00 2001 From: Antonio Terceiro Date: Fri, 27 Aug 2010 15:47:08 -0300 Subject: [PATCH] Fix integration test --- test/integration/manage_documents_test.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/integration/manage_documents_test.rb b/test/integration/manage_documents_test.rb index 6fb3007..44fcd31 100644 --- a/test/integration/manage_documents_test.rb +++ b/test/integration/manage_documents_test.rb @@ -8,7 +8,7 @@ class ManageDocumentsTest < ActionController::IntegrationTest create_user('myuser') login('myuser', 'myuser') - assert_tag :tag => 'a', :attributes => { :href => '/myprofile/myuser' } + assert_tag :tag => 'a', :attributes => { :href => '/myprofile/%{login}' } get '/myprofile/myuser' assert_response :success @@ -38,7 +38,7 @@ class ManageDocumentsTest < ActionController::IntegrationTest article.save! login('myuser', 'myuser') - assert_tag :tag => 'a', :attributes => { :href => '/myprofile/myuser' } + assert_tag :tag => 'a', :attributes => { :href => '/myprofile/%{login}' } get '/myprofile/myuser' assert_response :success @@ -72,7 +72,7 @@ class ManageDocumentsTest < ActionController::IntegrationTest login('myuser', 'myuser') - assert_tag :tag => 'a', :attributes => { :href => '/myprofile/myuser' } + assert_tag :tag => 'a', :attributes => { :href => '/myprofile/%{login}' } get '/myprofile/myuser' assert_response :success -- libgit2 0.21.2