Fix compatability with rack-test 0.7.1
This commit is contained in:
parent
4bde730600
commit
95a297ebef
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue