Sha256: 7d2172d062c5bddc6abb7c08f4b63f725497bf54e29d22fd54a41158f67cab50

Contents?: true

Size: 695 Bytes

Versions: 3

Compression:

Stored size: 695 Bytes

Contents

Feature: Version lock
  In order to use the same configuration on every machine,
  as a lazy Vim user,
  I want to keep versions of Vim plugins which I installed before.

  Background:
    Given a repository "foo" with versions "1.0.0 1.0.1 1.0.2"

  Scenario: Install with lockfile
    Given a flavorfile with:
      """ruby
      flavor '$foo_uri'
      """
    And a lockfile with:
      """
      $foo_uri (1.0.0)
      """
    When I run `vim-flavor install`
    Then it should pass
    And the lockfile is updated with:
      """
      $foo_uri (1.0.0)
      """
    And a bootstrap script is created in "$home/.vim"
    And a flavor "$foo_uri" version "1.0.0" is deployed to "$home/.vim"

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
vim-flavor-1.1.0 features/version_lock.feature
vim-flavor-1.0.3 features/version_lock.feature
vim-flavor-1.0.2 features/version_lock.feature