On Apr 8, 10:31 am, David <dly...@gmail.com> wrote:
> I have some questions about testing RJS.  First of all, just
> generally, how important is testing RJS?  It seems, that for effects
> at least, if I can see that the effect is working, then that is good
> enough for me?  I would like to test certain RJS redirect_to's
> however.  I came across the ARTS plugin.  Has anyone had any
> experience using this with rails 2.2 or 2.3?  I saw somewhere that it
> was included in 2.2, but when I try:
>
I still use arts. I don't think it is quite true to say that 2.2/2.3
(and I think 2.1)  replaces arts, although it does have similar
functionality via assert_select_rjs (don't remember if that covers
redirect_to though)

I'd say testing is as important as it is elsewhere (although I would
probably worry less about pure eye candy than about stuff that would
impact usage (ie this div should be shown and this button enabled)).

Fred

> assert_rjs :redirect_to, :action => 'show'
>
> I get an unknown method error.
--~--~---------~--~----~------------~-------~--~----~
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@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to