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 Buddy
<rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org>
wrote:> 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 Buddy.
>
> --
> Posted viahttp://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---