Relative Content

Tag Archive for ruby-on-railsrubycucumber

Testing file uploads in Rails App using cucumber

I have the following cucumber test in my Rails app with the following step I attach a contract which should basically upload any file to check if upload works (upload is mandatory). Problem: I don’t know how to implement this. Probably I have to generate the file on the fly and attach this.