Hi,
The SaltedHashLoginGenerator controller tests fail on Rails 0.14.3,
Ruby 1.8.2 on Windows. Has anyone else experienced this? Is this
just an upgrade error from Rails 0.13.1? I went through the upgrade
manual and didn’t see anything that could explain why this is
happening.
This is what happens:
rake test_functional
-
Error:
test_auth_bob(UserControllerTest):
NoMethodError: undefined methodredirect_back_or_default' for #<UserController:0x36eb518> C:/cygwin/home/Fkim/test.com/config/../app/controllers/user_controller.rb:10:in
login’ -
Error:
test_forgot_password(UserControllerTest):
NoMethodError: undefined methoduser?' for #<UserController:0x36579a8> C:/cygwin/home/Fkim/test.com/config/../app/controllers/user_controller.rb:61:in
forgot_password’ -
Error:
test_signup(UserControllerTest):
NoMethodError: undefined method `inject_one_error=’ for
ActionMailer::Base:Class
c:/ruby/lib/ruby/gems/1.8/gems/actionmailer-1.1.3/lib/action_mailer/base.rb:225:in
method_missing' ./test/functional/user_controller_test.rb:77:in
do_test_signup’
./test/functional/user_controller_test.rb:144:in `test_signup’
Thanks,
Frank K.
http://meetingkoreans.com