assert_tag smells bad. Hpricot smells nice (apricotty!). Testing your views with Hpricot: http://www.lukeredpath.co.uk/index.php/2006/07/07/testing-your-rails- views-with-hpricot/ Big thanks to _why for a great little library! Feedback is appreciated. rSpec integration coming soon (hopefully!). Cheers, Luke Redpath contact@lukeredpath.co.uk -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060707/188dd221/attachment.html
Looks really interesting. Typical though, just as I get used to assert_tag etc, along comes something slicker :) Any idea if there will be support for RJS in the future? Or did I mis- read it, and it''s already installed? -------------------------------------------------- Peter Wright froogle@tinfoilcat.net Personal Blog -> http://peterwright.blogspot.com Agile Development Blog -> http://exceeding-expectations.blogspot.com On 7 Jul 2006, at 12:52, Luke Redpath wrote:> assert_tag smells bad. Hpricot smells nice (apricotty!). > > Testing your views with Hpricot: > http://www.lukeredpath.co.uk/index.php/2006/07/07/testing-your- > rails-views-with-hpricot/ > > Big thanks to _why for a great little library! > > Feedback is appreciated. rSpec integration coming soon (hopefully!). > > Cheers, > Luke Redpath > contact@lukeredpath.co.uk > > > > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails-------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060707/acedb598/attachment.html
No support for testing RJS yet, though you may want to look at the ARTS plugin for that. http://weblog.rubyonrails.org/2006/5/31/testing-rjs-with-arts On 7/7/06, Pete Wright <froogle@tinfoilcat.com> wrote:> > Looks really interesting. Typical though, just as I get used to assert_tag > etc, along comes something slicker :) > > Any idea if there will be support for RJS in the future? Or did I mis-read > it, and it''s already installed? > > -------------------------------------------------- > Peter Wright > froogle@tinfoilcat.net > > Personal Blog -> http://peterwright.blogspot.com > Agile Development Blog -> > http://exceeding-expectations.blogspot.com > > > > > > On 7 Jul 2006, at 12:52, Luke Redpath wrote: > > > assert_tag smells bad. Hpricot smells nice (apricotty!). > > Testing your views with Hpricot: > http://www.lukeredpath.co.uk/index.php/2006/07/07/testing-your-rails-views-with-hpricot/ > > Big thanks to _why for a great little library! > > Feedback is appreciated. rSpec integration coming soon (hopefully!). > > Cheers, > Luke Redpath > contact@lukeredpath.co.uk > > > > > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails > > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails > > >-- Cheers, Luke Redpath http://www.lukeredpath.co.uk http://opensource.agileevolved.com