Sha256: 607ea619433b943c1a8b1ec2e8ce02dd5c8f045b54f8009d8748934596652a80

Contents?: true

Size: 1.34 KB

Versions: 22

Compression:

Stored size: 1.34 KB

Contents

Feature: Cut and Paste

  Scenario: Cut removes the text
    When I open a new edit tab
    And I replace the contents with "Frank"
    And I select from 0 to 3
    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 open a new edit tab
    And I replace the contents with "Frank"
    And I select from 0 to 3
    And I copy text
    Then I should see "Frank" in the edit tab  

  Scenario: Paste inserts the cut text
    When I open a new edit tab
    And I replace the contents with "Frank"
    And I select from 0 to 3
    And I cut text
    And I move the cursor to 2
    And I paste text
    Then the contents should be "nkFra<c>"

  Scenario: Paste inserts the copied text
    When I open a new edit tab
    And I replace the contents with "Frank"
    And I select from 0 to 3
    And I copy text
    And I move the cursor to 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 open a new edit tab
    And I replace the contents with "Frank"
    And I select from 0 to 3
    And I copy text
    And I select from 3 to 5
    And I copy text
    And I move the cursor to 0
    And I paste text
    Then the contents should be "nk<c>Frank"
 

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
redcar-0.5.2dev plugins/edit_view/features/cut_and_paste.feature
redcar-0.5.1dev plugins/edit_view/features/cut_and_paste.feature
redcar-0.4.1 plugins/edit_view/features/cut_and_paste.feature
redcar-0.4 plugins/edit_view/features/cut_and_paste.feature
redcar-0.3.10.1dev plugins/edit_view/features/cut_and_paste.feature
redcar-0.3.10.0dev plugins/edit_view/features/cut_and_paste.feature
redcar-0.3.9 plugins/edit_view/features/cut_and_paste.feature
redcar-0.3.9.0dev plugins/edit_view/features/cut_and_paste.feature
redcar-0.3.8.4 plugins/edit_view/features/cut_and_paste.feature
redcar-0.3.8.3 plugins/edit_view/features/cut_and_paste.feature
redcar-0.3.8.2 plugins/edit_view/features/cut_and_paste.feature
redcar-0.3.8.1 plugins/edit_view/features/cut_and_paste.feature
redcar-0.3.8 plugins/edit_view/features/cut_and_paste.feature
redcar-0.3.7.1 plugins/edit_view/features/cut_and_paste.feature
redcar-0.3.7 plugins/edit_view/features/cut_and_paste.feature
redcar-0.3.6 plugins/edit_view/features/cut_and_paste.feature
redcar-0.3.5 plugins/edit_view/features/cut_and_paste.feature
redcar-0.3.4.3 plugins/edit_view/features/cut_and_paste.feature
redcar-0.3.4.2 plugins/edit_view/features/cut_and_paste.feature
redcar-0.3.4.1 plugins/edit_view/features/cut_and_paste.feature