Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Test-WWW-Mechanize CPAN distribution.

Report information
The Basics
Id: 44595
Status: rejected
Priority: 0/
Queue: Test-WWW-Mechanize

People
Owner: Nobody in particular
Requestors: jul.gil [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 1.24
Fixed in: (no value)



Subject: put_ok failed if second argument is used
put_ok is broken : accoding to documentation, put_ok should accept similar options as WWW::Mechanize's put, but as a hash reference. So the following should succeed : $mech->post_ok( $url, { content => 'foo' }, $description); In Test::WWW::Mechanize, line 366 : $self->put( $url, \%opts ); should be : $self->put( $url, %opts ); ( According to WW::Mechanize, the put syntaxe is : $mech->put( $uri, content => $content );
Error in my preceding message : Show quoted text
> $mech->post_ok( $url, { content => 'foo' }, $description);
$mech->put_ok( $url, { content => 'foo' }, $description);
This RT queue is no longer used. Please post bugs at http://code.google.com/p/www-mechanize/issues/list Thanks, xoxo, Andy