From 2d9900a5ad151795f3fd8652a925827ee1082c3e Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Wed, 6 Jan 2016 22:07:19 +0100 Subject: [PATCH] bdd: Add test for :paste with invalid URL. --- tests/integration/features/yankpaste.feature | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/integration/features/yankpaste.feature b/tests/integration/features/yankpaste.feature index a9bdb713a..e4a0dbfe6 100644 --- a/tests/integration/features/yankpaste.feature +++ b/tests/integration/features/yankpaste.feature @@ -98,3 +98,9 @@ Feature: Yanking and pasting. history: - active: true url: http://localhost:*/data/hello.txt + + Scenario: Pasting an invalid URL + When I set general -> auto-search to false + And I put "foo bar" into the clipboard + And I run :paste + Then the error "Invalid URL" should be shown