
Tiny patch for attach_file to work with mechanize
Reported by trammel | October 20th, 2009 @ 07:01 PM
It looks like FileField.test_uploaded_file (lib/webrat/core/elements/field.rb) has never supported attach_file when configured to use mechanize.
This patch adds very basic support.
Comments and changes to this ticket
-
dannyhawkins (at me) January 12th, 2010 @ 11:57 AM
I've added
open(@value) if @value.present?
which seems to work great. Can be seen on my fork http://github.com/technophobia/webrat (credit to Matt Crouch mcrouch@technophobia.com)
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
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.
People watching this ticket
- Nobody is watching this ticket.