Sha256: 9b5925388cc9c2509a286dd4c3f2cba38bd10e646cd1aee9f623ec944a264a61

Contents?: true

Size: 1.25 KB

Versions: 27

Compression:

Stored size: 1.25 KB

Contents

Feature: Open and save files

  Scenario: Open a file
    Given I will choose "plugins/project/spec/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/spec/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/spec/fixtures/winter.txt"
    When I replace the contents with "Hi!"
    And I save the tab
    Then the file "plugins/project/spec/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/spec/fixtures/winter.txt"
    And I will choose "plugins/project/spec/fixtures/winter2.txt" from the "save_file" dialog
    And I save the tab as
    Then the file "plugins/project/spec/fixtures/winter2.txt" should contain "Wintersmith"
    And I should see "Wintersmith" in the edit tab

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
redcar-0.7 plugins/project/features/open_and_save_files.feature
redcar-0.6.1 plugins/project/features/open_and_save_files.feature
redcar-0.6 plugins/project/features/open_and_save_files.feature
redcar-0.6.1dev plugins/project/features/open_and_save_files.feature
redcar-0.5.1 plugins/project/features/open_and_save_files.feature
redcar-0.5 plugins/project/features/open_and_save_files.feature
redcar-0.5.6dev plugins/project/features/open_and_save_files.feature
redcar-0.5.5dev plugins/project/features/open_and_save_files.feature
redcar-0.5.4dev plugins/project/features/open_and_save_files.feature
redcar-0.5.3dev plugins/project/features/open_and_save_files.feature
redcar-0.5.2dev plugins/project/features/open_and_save_files.feature
redcar-0.5.1dev plugins/project/features/open_and_save_files.feature
redcar-0.4.1 plugins/project/features/open_and_save_files.feature
redcar-0.4 plugins/project/features/open_and_save_files.feature
redcar-0.3.10.1dev plugins/project/features/open_and_save_files.feature
redcar-0.3.10.0dev plugins/project/features/open_and_save_files.feature
redcar-0.3.9 plugins/project/features/open_and_save_files.feature
redcar-0.3.9.0dev plugins/project/features/open_and_save_files.feature
redcar-0.3.8.4 plugins/project/features/open_and_save_files.feature
redcar-0.3.8.3 plugins/project/features/open_and_save_files.feature