0

このエラーが発生します

"undefined method `attach_file' for #<Object:0x00000002016970> (NoMethodError)"

私が持っているコードの場合:-

When /^(?:|I )attach the file "([^\"]*)" to "([^\"]*)"(?: within "([^\"]*)")?$/ do |path, field, selector|

    attach_file(field, path)


end
4

0 に答える 0