Stop params[:form][:file] in test_app from crashing
This got triggered on Travis -- I am not sure what is different in their environment. I prefer this solution over (params[:form] && params[:form][:file]) so the test doesn't silently pass if something goes badly wrong
This commit is contained in:
parent
9fd6c85949
commit
bbc2b84b24
|
@ -274,6 +274,7 @@
|
|||
</p>
|
||||
|
||||
<p>
|
||||
<input type="hidden" name="form[dummy]" value="ensure params[:form] exists"/>
|
||||
<input type="submit" value="Upload Empty"/>
|
||||
<p>
|
||||
</form>
|
||||
|
|
Loading…
Reference in New Issue