Running rake test tasks with engines


#1

Hello,
I am using the login_engine and user_engine in my application.
For testing my application if I run
‘rake test’
it falis because the rake test task doesn’t runs the rake bootstrap and
rake
sync_permissions (or their equivalent) task on the test_db.

How can I make the different `rake test’ tasks run the engines rake
tasks (or
their code equivalent) before starting the actual testing.

Thanks for our help.


Surendra S.
http://ssinghi.kreeti.com, http://www.kreeti.com
Read my blog at: http://cuttingtheredtape.blogspot.com/
,----
| “War is Peace! Freedom is Slavery! Ignorance is Strength!”
| – Orwell, 1984, 1948
`----