Apr 25, 06
RJS Assertions - I've been doing a little bit of refactoring and code improvement on some of my pet Rails projects. One of the things that I'd previously not found a great way of testing was Rails 1.1's RJS templates, Ruby generated JavaScript, a key part of Rails' AJAX support. I've posted previously about what I've been attempting, and you can see from the example test that it's not particularly pretty:
Tag(s):
ajax,
rails
Page 1 of 1 pages