Re: [Rails] Problem testing ajax func call via member routes

2014-01-19 Thread Kanna Vrk
Params missing check your params correctly.. *Thanks Regards,kanna(9742665400)*... On Fri, Jan 17, 2014 at 3:19 AM, arca0 arcaz...@gmail.com wrote: Hi, I'm having a problem writing a proper test for an exercise from Agile Web Development with Rails 4.0. The exercise was about

[Rails] Problem testing ajax func call via member routes

2014-01-16 Thread arca0
Hi, I'm having a problem writing a proper test for an exercise from Agile Web Development with Rails 4.0. The exercise was about creating a member route, which was then used via ajax to decrement an cart item (ListItem) attribute, eventually destroying it when it hits 0. The route I wrote is: