Sha256: 1c40c323b82995afe9f99854a6960ca4e48fe22b95563b5fcd6fbc1d5f08f7a2

Contents?: true

Size: 1.28 KB

Versions: 7

Compression:

Stored size: 1.28 KB

Contents

Feature: Open and save files

  Scenario: Open a file
    Given I will choose "plugins/project/features/fixtures/winter.txt" from the "open_file" dialog
    When I open a file
    Then there should be one edit tab
    And I should see "Wintersmith" in the edit tab

  Scenario: Opening an already open file focusses the edit tab
    Given I will choose "plugins/project/features/fixtures/winter.txt" from the "open_file" dialog
    When I open a file
    And I open a new edit tab
    And I replace the contents with "Jenny Green Eyes"
    And I open a file
    Then there should be 2 edit tabs
    And I should see "Wintersmith" in the edit tab
  
  Scenario: Save a file
    Given I have opened "plugins/project/features/fixtures/winter.txt"
    When I replace the contents with "Hi!"
    And I save the tab
    Then the file "plugins/project/features/fixtures/winter.txt" should contain "Hi!"
    And I should see "Hi!" in the edit tab

  Scenario: Save a file As
    Given I have opened "plugins/project/features/fixtures/winter.txt"
    And I will choose "plugins/project/features/fixtures/winter2.txt" from the "save_file" dialog
    And I save the tab as
    Then the file "plugins/project/features/fixtures/winter2.txt" should contain "Wintersmith"
    And I should see "Wintersmith" in the edit tab

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
redcar-0.3.4.3 plugins/project/features/open_and_save_files.feature
redcar-0.3.4.2 plugins/project/features/open_and_save_files.feature
redcar-0.3.4.1 plugins/project/features/open_and_save_files.feature
redcar-0.3.4 plugins/project/features/open_and_save_files.feature
redcar-0.3.3 plugins/project/features/open_and_save_files.feature
redcar-0.3.2dev plugins/project/features/open_and_save_files.feature
redcar-0.3.1dev plugins/project/features/open_and_save_files.feature