Forum: Rails Engines Error in login_engine tests

4d27c7a6b2fd1e51eee01b9763a62df5?d=identicon&s=25 Rasila F S (Guest)
on 2006-12-20 20:45
(Received via mailing list)
I am working with Edge rails and edge engines version. I am also using
login_engine in my application. While running tests in login_engine the
following errors are being displayed:

 1) Error:
test_auth(UserTest):
NoMethodError: undefined method `users' for #<UserTest:0xb753af2c>
    /var/www/html/duo_server/config/../vendor/rails/actionpack/lib/action_controller/test_process.rb:452:in
`method_missing'
    test/unit/user_test.rb:13:in `test_auth'

  2) Error:
test_passwordchange(UserTest):
NoMethodError: undefined method `users' for #<UserTest:0xb753ae50>
    /var/www/html/duo_server/config/../vendor/rails/actionpack/lib/action_controller/test_process.rb:452:in
`method_missing'
    test/unit/user_test.rb:20:in `test_passwordchange'

I also found that the fixtures are not getting loaded to the test
database.

Is there any compatibility issue with login_engine with the edge
version ? Or do I have to change anything to suit the new version?

- Rashila.
05d703f649ef1d07e78d7b479fb4c4ac?d=identicon&s=25 James Adam (Guest)
on 2006-12-20 21:23
(Received via mailing list)
The login engine is *untested* against Edge Rails - please do
investigate... ;-)
This topic is locked and can not be replied to.