Menu

#14 Test Failure - signup

open
nobody
2
2006-05-08
2006-05-08
cuteness
No

When running the unit tests I ran into this failure.
Currently I have the test commented out because I'm not
sure if it is the lack of mail server or just a bug in
the ruby generating code. I've googled the error and
it seems that there's no fix anyone can find :-/ I
can't find a real functional problem when I go and
manually test it, so I set the priority as low. If
anyone can help me solve it, that'd be great...

Here's the output:
Failure: test_signup(UserControllerTest)
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/depr
ecated_assertions.rb:13:in `assert_redirect'
c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/depr
ecated_assertions.rb:98:in `assert_redirect_url'
user_controller_test.rb:37:in `do_test_signup'
user_controller_test.rb:145:in `test_signup']:
Expected response to be a <:redirect>, but was <200>

It seems to me that it's testing if the user gets
redirected to the login page after signing up... and
there is a redirect to the login page as predicted.

Discussion

  • cuteness

    cuteness - 2006-05-08
    • assigned_to: tprouty --> nobody
     
  • Kevin Chiu

    Kevin Chiu - 2006-05-21

    Logged In: YES
    user_id=1269522

    Gail's donating a machine. A mail server can be set up on
    it. Try this out sometime and continue testing.

     

Log in to post a comment.

MongoDB Logo MongoDB