bdd: Add a test for :follow-selected --tab

This commit is contained in:
Florian Bruhin 2016-01-06 23:22:18 +01:00
parent 7cc98a1248
commit c9a35e7f1e

View File

@ -294,3 +294,14 @@ Feature: Caret mode
And I run :move-to-end-of-word
And I run :follow-selected
Then data/hello.txt should be loaded
Scenario: :follow-selected with --tab
When I run :tab-only
And I run :enter-mode caret
And I run :toggle-selection
And I run :move-to-end-of-word
And I run :follow-selected --tab
Then data/hello.txt should be loaded
And the following tabs should be open:
- data/caret.html
- data/hello.txt (active)