Unit Testing not working for some controllers

Hai all,
I am trying to unit test all my controllers (functional testing).
All the actions in controllers which are accessed directly from the
browser are working properly (i.e., the parameters I am passing from the
test case are getting accessed with “params[:mmm]”).

But some actions in controllers which are called through ajax calls are
not working properly. i.e., the parametsrs are not getting passed to
that action in that controller, they are NIL.

Can somebody tel me what can be the problem???

THNX in advance.
Jazzy B…

There is not enough information here. Since ajax calls to controllers
with params do work, there must be something in how you are invoking
them in your test that is the issue. I suggest posting a short sample
of the test code that is failing and the action it is invoking.

Michael

On Jun 13, 11:20 pm, Jazzy B. [email protected]