#229 awaiting-patch
Nicklas Ramhöj

attach_file not defined in Selenium mode

Reported by Nicklas Ramhöj | April 24th, 2009 @ 05:01 AM

Then I attach the file at "/path/to/file.jpg" to "Picture:"

with the step:
When /^I attach the file at "([^\"]*)" to "([^\"]*)"$/ do |path, field|
attach_file(field, path) end

Generates:
undefined method attach_file' for #<Webrat::SeleniumSession:0x2f98b50> (NoMethodError) (eval):2:inattach_file' ./features/step_definitions/webrat_steps.rb:90:in /^I attach the file at "([^\"]*)" to "([^\"]*)"$/' features/create_content_boxes.feature:21:inWhen try to add a "picture" box'

Comments and changes to this ticket

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.

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

Referenced by

Pages