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.