mirror of
https://github.com/teamcapybara/capybara.git
synced 2022-11-09 12:08:07 -05:00
Add methods to NilUploadedFile needed by recent rack-test master changes
This commit is contained in:
parent
a2b8793747
commit
82138ab117
1 changed files with 2 additions and 0 deletions
|
@ -16,6 +16,8 @@ class Capybara::RackTest::Form < Capybara::RackTest::Node
|
|||
def path; @empty_file.path; end
|
||||
def size; 0; end
|
||||
def read; ''; end
|
||||
def append_to(_); end
|
||||
def set_encoding(_); end
|
||||
end
|
||||
|
||||
def params(button)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue