mirror of
https://github.com/teamcapybara/capybara.git
synced 2022-11-09 12:08:07 -05:00
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
1 changed files with 1 additions and 0 deletions
|
@ -274,6 +274,7 @@
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
|
<input type="hidden" name="form[dummy]" value="ensure params[:form] exists"/>
|
||||||
<input type="submit" value="Upload Empty"/>
|
<input type="submit" value="Upload Empty"/>
|
||||||
<p>
|
<p>
|
||||||
</form>
|
</form>
|
||||||
|
|
Loading…
Reference in a new issue