#294 new
Duarte Henriques

Basic Authentication should be delegated to Mechanize adapter

Reported by Duarte Henriques | September 25th, 2009 @ 01:46 PM

The following code:

# Webrat.configuration.mode == :mechanize
basic_auth(user, password)
visit(login_url)

Does not work right now, because basic_auth() will call the method in Webrat::Session instead of the method in Webrat::MechanizeAdapter.

I've attached the patch. You can also pull from http://github.com/dsgh/webrat

Thanks

Comments and changes to this ticket

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Ruby Acceptance Testing for Web applications.

Shared Ticket Bins

People watching this ticket

Attachments

Pages