Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR RUBY

how to upload a file in capybara spec

attach_file("Upload Your File", Rails.root + "spec/fixtures/file.pdf")
Source by tosbourn.com #
 
PREVIOUS NEXT
Tagged: #upload #file #capybara #spec
ADD COMMENT
Topic
Name
1+7 =