I don''t know about you guys, but I really hate those warnings that
assert_tag spews out. They have no controller/action associated with
them, so you have to hunt down which partial or view it is through
trial and error.
Any objections to parsing in strict mode? This is all that''s needed
in test_process:
def html_document
@html_document ||= HTML::Document.new(@response.body, true)
end
I believe this only tests for tag well-formedness, and not w3c spec compliance.
--
Rick Olson
http://techno-weenie.net
sounds great On 7/15/06, Rick Olson <technoweenie@gmail.com> wrote:> I don''t know about you guys, but I really hate those warnings that > assert_tag spews out. They have no controller/action associated with > them, so you have to hunt down which partial or view it is through > trial and error. > > Any objections to parsing in strict mode? This is all that''s needed > in test_process: > > def html_document > @html_document ||= HTML::Document.new(@response.body, true) > end > > I believe this only tests for tag well-formedness, and not w3c spec compliance. > > -- > Rick Olson > http://techno-weenie.net > _______________________________________________ > Rails-core mailing list > Rails-core@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails-core >-- Kevin Clark http://glu.ttono.us
On 7/15/06, Kevin Clark <kevin.clark@gmail.com> wrote:> sounds great+1> > On 7/15/06, Rick Olson <technoweenie@gmail.com> wrote: > > I don''t know about you guys, but I really hate those warnings that > > assert_tag spews out. They have no controller/action associated with > > them, so you have to hunt down which partial or view it is through > > trial and error. > > > > Any objections to parsing in strict mode? This is all that''s needed > > in test_process: > > > > def html_document > > @html_document ||= HTML::Document.new(@response.body, true) > > end > > > > I believe this only tests for tag well-formedness, and not w3c spec compliance. > > > > -- > > Rick Olson > > http://techno-weenie.net > > _______________________________________________ > > Rails-core mailing list > > Rails-core@lists.rubyonrails.org > > http://lists.rubyonrails.org/mailman/listinfo/rails-core > > > > > -- > Kevin Clark > http://glu.ttono.us > _______________________________________________ > Rails-core mailing list > Rails-core@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails-core >-- Dave Goodlad dgoodlad@gmail.com or dave@goodlad.ca http://david.goodlad.ca/