Add new feature test.

This commit is contained in:
Magnar Sveen 2012-06-06 12:59:33 +02:00
parent ef7eddf1c5
commit dcd9c52b4a
2 changed files with 12 additions and 0 deletions

View File

@ -11,3 +11,14 @@ Feature: Mark multiple integration
And I press "C->"
And I type "sentence"
Then I should see "This sentence contains the word sentence twice"
Scenario: Mark two words and go to multiple cursors
Given there is no region selected
When I insert "This text contains the word text twice"
And I select "text"
And I press "C->"
And I press "C-g"
And I type "'"
And I press "C-f" 4 times
And I type "'"
Then I should see "This 'text' contains the word 'text' twice"

View File

@ -14,6 +14,7 @@
(require 'ert)
(Before
(mm/clear-all)
(global-set-key (kbd "C->") 'mark-next-like-this)
(switch-to-buffer
(get-buffer-create "*multiple-cursors*"))