Add test for downloading to an inexistent dir

This commit is contained in:
Florian Bruhin 2016-09-09 17:52:20 +02:00
parent ab30124bd0
commit b5b46332c7

View File

@ -135,6 +135,10 @@ Feature: Downloading things from a website.
When I run :download --mhtml http://foobar/
Then the error "Can only download the current page as mhtml." should be shown
Scenario: :download with a directory which doesn't exist
When I run :download --dest (tmpdir)/somedir/filename http://localhost:(port)/
Then the error "Download error: No such file or directory" should be shown
## mhtml downloads
Scenario: Downloading as mhtml is available