Fix compatability with rack-test 0.7.1

This commit is contained in:
Thomas Walpole 2017-11-19 12:52:03 -08:00
parent 4bde730600
commit 95a297ebef
1 changed files with 2 additions and 0 deletions

View File

@ -13,6 +13,8 @@ class Capybara::RackTest::Form < Capybara::RackTest::Node
def original_filename; ""; end
def content_type; "application/octet-stream"; end
def path; @empty_file.path; end
def size; 0; end
def read; ""; end
end
def params(button)