# File lib/webrat/core/scope.rb, line 230 def attach_file(field_locator, path, content_type = nil) locate_field(field_locator, FileField).set(path, content_type) end