From 3bcc80048dadd42ba41a6968bcf69a3bc27bddd4 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Thu, 26 Nov 2015 18:37:33 +0100 Subject: [PATCH] bdd: Move yankpaste.html to title.html. --- .../data/{yankpaste.html => title.html} | 0 tests/integration/features/yankpaste.feature | 16 ++++++++-------- 2 files changed, 8 insertions(+), 8 deletions(-) rename tests/integration/data/{yankpaste.html => title.html} (100%) diff --git a/tests/integration/data/yankpaste.html b/tests/integration/data/title.html similarity index 100% rename from tests/integration/data/yankpaste.html rename to tests/integration/data/title.html diff --git a/tests/integration/features/yankpaste.feature b/tests/integration/features/yankpaste.feature index cc07ec8d1..a9bdb713a 100644 --- a/tests/integration/features/yankpaste.feature +++ b/tests/integration/features/yankpaste.feature @@ -8,27 +8,27 @@ Feature: Yanking and pasting. #### :yank Scenario: Yanking URLs to clipboard - When I open data/yankpaste.html + When I open data/title.html And I run :yank - Then the message "Yanked URL to clipboard: http://localhost:(port)/data/yankpaste.html" should be shown - And the clipboard should contain "http://localhost:(port)/data/yankpaste.html" + Then the message "Yanked URL to clipboard: http://localhost:(port)/data/title.html" should be shown + And the clipboard should contain "http://localhost:(port)/data/title.html" Scenario: Yanking URLs to primary selection When selection is supported - And I open data/yankpaste.html + And I open data/title.html And I run :yank --sel - Then the message "Yanked URL to primary selection: http://localhost:(port)/data/yankpaste.html" should be shown - And the primary selection should contain "http://localhost:(port)/data/yankpaste.html" + Then the message "Yanked URL to primary selection: http://localhost:(port)/data/title.html" should be shown + And the primary selection should contain "http://localhost:(port)/data/title.html" Scenario: Yanking title to clipboard - When I open data/yankpaste.html + When I open data/title.html And I wait for regex "Changing title for idx \d to 'Test title'" in the log And I run :yank --title Then the message "Yanked title to clipboard: Test title" should be shown And the clipboard should contain "Test title" Scenario: Yanking domain to clipboard - When I open data/yankpaste.html + When I open data/title.html And I run :yank --domain Then the message "Yanked domain to clipboard: http://localhost:(port)" should be shown And the clipboard should contain "http://localhost:(port)"