Sha256: 1570cbfe445992c93014c9f41568d8f6e18cfc450b7cbbd3044ee935b343039c

Contents?: true

Size: 1.84 KB

Versions: 9

Compression:

Stored size: 1.84 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 window "redcar" 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

9 entries across 9 versions & 1 rubygems

Version Path
redcar-0.3.8.4 plugins/project/features/refresh_directory_tree.feature
redcar-0.3.8.3 plugins/project/features/refresh_directory_tree.feature
redcar-0.3.8.2 plugins/project/features/refresh_directory_tree.feature
redcar-0.3.8.1 plugins/project/features/refresh_directory_tree.feature
redcar-0.3.8 plugins/project/features/refresh_directory_tree.feature
redcar-0.3.7.1 plugins/project/features/refresh_directory_tree.feature
redcar-0.3.7 plugins/project/features/refresh_directory_tree.feature
redcar-0.3.6 plugins/project/features/refresh_directory_tree.feature
redcar-0.3.5 plugins/project/features/refresh_directory_tree.feature