Hey Andrew,
AndrewO a écrit :
> I just started poking through the javascript_test plugin (very nice).
> What I'm wondering though, is if it can test javascript returned from
> actions or is it limited to static .js files.
Take a look at assert_rjs. Since RJS is the preferred way of returning
JS from the app side, I assume that'll help you out :-) It's brought to
you by the RJS Assertions Plugin.
You'll find a link to it from yet another RJS test system called ARTS,
which is introduced here:
http://www.rojo.com/story/SqJlWgM5Q0OowNyu
'HTH
--
Christophe Porteneuve a.k.a. TDD
"[They] did not know it was impossible, so they did it." --Mark Twain
Email: [EMAIL PROTECTED]
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---