13/02/2015 - BEHAT
You can use example below to upload files.
Make sure that you have folder structure below.
# Your application
Apart from other common setting, you must define
Actual built-in method is here.
Feature: Example feature
Scenario: I can upload image
Given I am on "/"
When I attach the file "image/test.jpg" to "league_flag"
And I press "Submit"
Then I should see "Succeeded."