Sha256: 4c13bf2f0f9aabbe387f24205c117457747ea743c07bc1a7457b1d247493e92c

Contents?: true

Size: 1001 Bytes

Versions: 14

Compression:

Stored size: 1001 Bytes

Contents

@typical_usage
Feature: Uninstall Vim plugins
  In order to automate boring steps,
  as a lazy Vim user,
  I want to use a declarative way to delete Vim plugins from my configuration.

  Background:
    Given a repository "foo" with versions "1.0.0 1.0.1 1.0.2"
    And a repository "bar" with versions "2.0.0 2.0.1 2.0.2"

  Scenario: Install after deleting some flavors in flavorfile
    Given a flavorfile with:
      """ruby
      flavor '$foo_uri'
      flavor '$bar_uri'
      """
    And I run `vim-flavor install`
    And a flavor "$foo_uri" version "1.0.2" is deployed to "$home/.vim"
    When I edit the flavorfile as:
      """ruby
      flavor '$bar_uri'
      """
    And I run `vim-flavor install`
    Then it should pass
    And a lockfile is created with:
      """
      $bar_uri (2.0.2)
      """
    And a bootstrap script is created in "$home/.vim"
    And a flavor "$bar_uri" version "2.0.2" is deployed to "$home/.vim"
    But a flavor "$foo_uri" is not deployed to "$home/.vim"

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
vim-flavor-2.2.2 features/typical_usage/uninstall_vim_plugins.feature
vim-flavor-2.2.1 features/typical_usage/uninstall_vim_plugins.feature
vim-flavor-2.2.0 features/typical_usage/uninstall_vim_plugins.feature
vim-flavor-2.1.1 features/typical_usage/uninstall_vim_plugins.feature
vim-flavor-2.1.0 features/typical_usage/uninstall_vim_plugins.feature
vim-flavor-2.0.0 features/typical_usage/uninstall_vim_plugins.feature
vim-flavor-1.1.5 features/typical_usage/uninstall_vim_plugins.feature
vim-flavor-1.1.4 features/typical_usage/uninstall_vim_plugins.feature
vim-flavor-1.1.3 features/typical_usage/uninstall_vim_plugins.feature
vim-flavor-1.1.2 features/typical_usage/uninstall_vim_plugins.feature
vim-flavor-1.1.1 features/typical_usage/uninstall_vim_plugins.feature
vim-flavor-1.1.0 features/typical_usage/uninstall_vim_plugins.feature
vim-flavor-1.0.3 features/typical_usage/uninstall_vim_plugins.feature
vim-flavor-1.0.2 features/typical_usage/uninstall_vim_plugins.feature