From c156d9cc9937cc990ea525a5e2d5655ecb3b2b83 Mon Sep 17 00:00:00 2001 From: JoenioCosta Date: Tue, 29 Apr 2008 19:35:13 +0000 Subject: [PATCH] ActionItem280: fix integration test --- test/integration/user_registers_at_the_application_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/integration/user_registers_at_the_application_test.rb b/test/integration/user_registers_at_the_application_test.rb index 9f925c3..2a9b067 100644 --- a/test/integration/user_registers_at_the_application_test.rb +++ b/test/integration/user_registers_at_the_application_test.rb @@ -15,7 +15,7 @@ class UserRegistersAtTheApplicationTest < ActionController::IntegrationTest post '/account/signup', :user => { :login => 'mylogin', :password => 'mypassword', :password_confirmation => 'mypassword', :email => 'mylogin@example.com' } assert_response :redirect - assert_redirected_to '/mylogin' + assert_redirected_to '/myprofile/mylogin' # user is logged in right after the registration follow_redirect! -- libgit2 0.21.2