search for: authentication_test

Displaying 1 result from an estimated 1 matches for "authentication_test".

2007 Jan 09
1
assert_redirected_to not working as expected
...icate(@user.login, @user.password) redirect_to(:controller => ''/home'', :action => ''welcome'') else flash[:notice] = "Signup unsuccessful!" end end end === The "success" integration test (test/integration/authentication_test.rb) looks like this (snipped): === class AuthenticationTest < ActionController::IntegrationTest def setup User.create(:login => "goober", :email => "goober-I/zrSzmPSO5BDgjK7y7TUQ@public.gmane.org", :password => "gomer"...