# Failing tests from Mechanize gem

**URL:** <https://www.ruby-forum.com/t/failing-tests-from-mechanize-gem/169342>\
**Category:** Ruby\
**Created:** [June 2, 2009, 4:46pm UTC](https://www.ruby-forum.com/t/failing-tests-from-mechanize-gem/169342 "2009-06-02T16:46:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jmaenpaa](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/9de053/32.png) [@jmaenpaa](https://www.ruby-forum.com/u/jmaenpaa)\
**Post date:** [June 2, 2009, 4:46pm UTC](https://www.ruby-forum.com/t/failing-tests-from-mechanize-gem/169342/1 "2009-06-02T16:46:28Z")

</div>

Chaps,

I’m using the Mechanize gem and it’s all good. However there are some  
tests that fail within /lib/ruby/gems/1.9.1/gems/mechanize-0.9.2/test/.

Nothing too major at the mo, just stuff about radio buttons. In the  
meantime if I where to get around debugging and squashing the failing  
tests, to whom should I send them to?

\*\*\* LOCAL GEMS \*\*\*

doctest (0.0.1)  
hotmailer (1.0.1)  
hpricot (0.8.1)  
mechanize (0.9.2)  
minitest (1.3.1)  
nokogiri (1.3.0)  
rake (0.8.4)  
rdoc (2.2.2)  
test-unit (2.0.2)

–  
/dev/jayeola

John M.  
MSc. (DIC)  
+7739 171 531

---

<div class="post-metadata">

**Author:** ![jmaenpaa](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/9de053/32.png) [@jmaenpaa](https://www.ruby-forum.com/u/jmaenpaa)\
**Post date:** [June 2, 2009, 5:56pm UTC](https://www.ruby-forum.com/t/failing-tests-from-mechanize-gem/169342/2 "2009-06-02T17:56:22Z")

</div>

On Tue, Jun 02, 2009 at 11:45:33PM +0900, John M. wrote:

> Chaps,
> 
> I’m using the Mechanize gem and it’s all good. However there are some  
> tests that fail within /lib/ruby/gems/1.9.1/gems/mechanize-0.9.2/test/.
> 
> Nothing too major at the mo, just stuff about radio buttons. In the  
> meantime if I where to get around debugging and squashing the failing  
> tests, to whom should I send them to?

You should send them to me. I am the maintainer. The only problem is  
that currently all tests pass for me.

Make sure you’re using the latest checkout from github:

[http://github.com/tenderlove/mechanize/tree/master](http://github.com/tenderlove/mechanize/tree/master)

Also, make sure that you are running libxml2 2.7.3. I suspect you’re  
running in to encoding problems with an older version of libxml2.
