Sha256: 417041e3e0cef4778c767c85d822209d213eae6288e37c94a543fc05efb2a0fa

Contents?: true

Size: 1.25 KB

Versions: 19

Compression:

Stored size: 1.25 KB

Contents

Feature: Cut and Paste

  Background: 
    When I open a new edit tab

  Scenario: Cut removes the text
    When I replace the contents with "Frank"
    And I select 3 from (0,0)
    And I cut text
    Then I should not see "Fra" in the edit tab  
    And I should see "nk" in the edit tab  

  Scenario: Copy leaves the text
    When I replace the contents with "Frank"
    And I select 3 from (0,0)
    And I copy text
    Then I should see "Frank" in the edit tab  

  Scenario: Paste inserts the cut text
    When I replace the contents with "Frank"
    And I select 3 from (0,0)
    And I cut text
    And I move the cursor to (0,2)
    And I paste text
    Then the contents should be "nkFra<c>"

  Scenario: Paste inserts the copied text
    When I replace the contents with "Frank"
    And I select 3 from (0,0)
    And I copy text
    And I move the cursor to (0,2)
    And I paste text
    Then I should see "FrFraank" in the edit tab
    Then the contents should be "FrFra<c>ank"

  Scenario: Paste pastes the most recent copy
    When I replace the contents with "Frank"
    And I select 3 from (0,0)
    And I copy text
    And I select 2 from (0,3)
    And I copy text
    And I move the cursor to (0,0)
    And I paste text
    Then the contents should be "nk<c>Frank"
 

Version data entries

19 entries across 19 versions & 2 rubygems

Version Path
redcar-0.13 plugins/edit_view/features/cut_and_paste.feature
redcar-dev-0.13.5dev plugins/edit_view/features/cut_and_paste.feature
redcar-dev-0.13.4dev plugins/edit_view/features/cut_and_paste.feature
redcar-dev-0.13.3dev plugins/edit_view/features/cut_and_paste.feature
redcar-dev-0.13.2dev plugins/edit_view/features/cut_and_paste.feature
redcar-dev-0.13.1dev plugins/edit_view/features/cut_and_paste.feature
redcar-0.12.1 plugins/edit_view/features/cut_and_paste.feature
redcar-dev-0.13.0dev plugins/edit_view/features/cut_and_paste.feature
redcar-0.12 plugins/edit_view/features/cut_and_paste.feature
redcar-dev-0.12.27dev plugins/edit_view/features/cut_and_paste.feature
redcar-dev-0.12.26dev plugins/edit_view/features/cut_and_paste.feature
redcar-dev-0.12.25dev plugins/edit_view/features/cut_and_paste.feature
redcar-dev-0.12.24dev plugins/edit_view/features/cut_and_paste.feature
redcar-dev-0.12.23dev plugins/edit_view/features/cut_and_paste.feature
redcar-dev-0.12.22dev plugins/edit_view/features/cut_and_paste.feature
redcar-dev-0.12.21dev plugins/edit_view/features/cut_and_paste.feature
redcar-dev-0.12.20dev plugins/edit_view/features/cut_and_paste.feature
redcar-dev-0.12.19dev plugins/edit_view/features/cut_and_paste.feature
redcar-dev-0.12.18dev plugins/edit_view/features/cut_and_paste.feature