Forum: Rails Engines Error in login_engine tests

Posted by 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.
Posted by James Adam (Guest)
on 2006-12-20 21:23
(Received via mailing list)
The login engine is *untested* against Edge Rails - please do 
investigate... ;-)
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.