Commit c156d9cc9937cc990ea525a5e2d5655ecb3b2b83

Authored by JoenioCosta
1 parent 14d46dcb

ActionItem280: fix integration test

git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@1745 3f533792-8f58-4932-b0fe-aaf55b0a4547
test/integration/user_registers_at_the_application_test.rb
@@ -15,7 +15,7 @@ class UserRegistersAtTheApplicationTest < ActionController::IntegrationTest @@ -15,7 +15,7 @@ class UserRegistersAtTheApplicationTest < ActionController::IntegrationTest
15 15
16 post '/account/signup', :user => { :login => 'mylogin', :password => 'mypassword', :password_confirmation => 'mypassword', :email => 'mylogin@example.com' } 16 post '/account/signup', :user => { :login => 'mylogin', :password => 'mypassword', :password_confirmation => 'mypassword', :email => 'mylogin@example.com' }
17 assert_response :redirect 17 assert_response :redirect
18 - assert_redirected_to '/mylogin' 18 + assert_redirected_to '/myprofile/mylogin'
19 19
20 # user is logged in right after the registration 20 # user is logged in right after the registration
21 follow_redirect! 21 follow_redirect!