Sha256: ab5d30fbe6bcf1b43cc43de8b4c38342893a7036111a21864d325ca1c5c818d6

Contents?: true

Size: 1.85 KB

Versions: 4

Compression:

Stored size: 1.85 KB

Contents

Feature: Refresh directory tree

  Scenario: Does not refresh instantly
    Given I will choose "." from the "open_directory" dialog
    When I open a directory
    Then I should see "bin,config,lib,plugins" in the tree
    And I should not see "testyfile.txt" in the tree
    When I touch the file "./testyfile.txt"
    Then I should not see "testyfile.txt" in the tree

  Scenario: I can manually refresh the tree
    Given I will choose "." from the "open_directory" dialog
    When I open a directory
    Then I should see "bin,config,lib,plugins" in the tree
    And I should not see "testyfile.txt" in the tree
    When I touch the file "./testyfile.txt"
    And I refresh the directory tree
    Then I should see "bin,config,lib,plugins,testyfile.txt" in the tree
    
  Scenario: Changing windows refreshed the tree
    Given I will choose "." from the "open_directory" dialog
    When I open a directory
    Then I should see "bin,config,lib,plugins" in the tree
    And I should not see "testyfile.txt" in the tree
    When I touch the file "./testyfile.txt"
    When I open a new window
    And I focus the working directory window through the gui
    Then I should see "bin,config,lib,plugins,testyfile.txt" in the tree
    
  Scenario: Refreshing the tree leaves rows expanded as they were before
    Given I will choose "." from the "open_directory" dialog
    When I open a directory
    And I expand the tree row "lib"
    Then I should see "bin,config,lib,freebase2,plugins" in the tree
    And I refresh the directory tree
    Then I should see "bin,config,lib,freebase2,plugins" in the tree
  
  Scenario: Tree is moved
    Given I will choose "plugins/project/spec/fixtures/myproject" from the "open_directory" dialog
    When I open a directory
    And I move the myproject fixture away
    And I refresh the directory tree
    Then I should not see "lib" in the tree  

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
redcar-0.3.10.1dev plugins/project/features/refresh_directory_tree.feature
redcar-0.3.10.0dev plugins/project/features/refresh_directory_tree.feature
redcar-0.3.9 plugins/project/features/refresh_directory_tree.feature
redcar-0.3.9.0dev plugins/project/features/refresh_directory_tree.feature