Sha256: ab441168a67fb4fa95775f746dcc884de73e3d9b0d5598459619d2d5d9f71f39

Contents?: true

Size: 1.79 KB

Versions: 22

Compression:

Stored size: 1.79 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,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,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,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,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,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,lib,redcar.rb,plugins" in the tree
    And I refresh the directory tree
    Then I should see "bin,lib,redcar.rb,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

22 entries across 22 versions & 1 rubygems

Version Path
redcar-0.11 plugins/project/features/refresh_directory_tree.feature
redcar-0.11.0dev plugins/project/features/refresh_directory_tree.feature
redcar-0.10 plugins/project/features/refresh_directory_tree.feature
redcar-0.9.2 plugins/project/features/refresh_directory_tree.feature
redcar-0.9.1 plugins/project/features/refresh_directory_tree.feature
redcar-0.9.0 plugins/project/features/refresh_directory_tree.feature
redcar-0.8.1 plugins/project/features/refresh_directory_tree.feature
redcar-0.8 plugins/project/features/refresh_directory_tree.feature
redcar-0.7 plugins/project/features/refresh_directory_tree.feature
redcar-0.6.1 plugins/project/features/refresh_directory_tree.feature
redcar-0.6 plugins/project/features/refresh_directory_tree.feature
redcar-0.6.1dev plugins/project/features/refresh_directory_tree.feature
redcar-0.5.1 plugins/project/features/refresh_directory_tree.feature
redcar-0.5 plugins/project/features/refresh_directory_tree.feature
redcar-0.5.6dev plugins/project/features/refresh_directory_tree.feature
redcar-0.5.5dev plugins/project/features/refresh_directory_tree.feature
redcar-0.5.4dev plugins/project/features/refresh_directory_tree.feature
redcar-0.5.3dev plugins/project/features/refresh_directory_tree.feature
redcar-0.5.2dev plugins/project/features/refresh_directory_tree.feature
redcar-0.5.1dev plugins/project/features/refresh_directory_tree.feature