Sha256: 2bc633f7cceecd27a73e6fbcfbc8a3bb9a474863070ec042fdcd057376a710bf

Contents?: true

Size: 963 Bytes

Versions: 5

Compression:

Stored size: 963 Bytes

Contents

Feature: Update Vim plugins with specific branches
  In order to try out proposed changes which are not released yet,
  as a lazy Vim user,
  I want to track the latest revision of a specific branch.

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

  Scenario: Update a plugin
    Given a flavorfile with:
      """ruby
      flavor '$foo_uri', branch: 'master'
      """
    And I run `vim-flavor install`
    And a lockfile is created with:
      """
      $foo_uri ($foo_rev_102 at master)
      """
    And "foo" version "1.0.3" is released
    When I run `vim-flavor update`
    Then it should pass with template:
      """
      Checking versions...
        Use $foo_uri ... $foo_rev_103 at master
      Deploying plugins...
        $foo_uri $foo_rev_103 at master ... done
      Completed.
      """
    And a bootstrap script is created in "$home/.vim"
    And a flavor "$foo_uri" version "1.0.3" is deployed to "$home/.vim"

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
vim-flavor-2.2.2 features/branches/update.feature
vim-flavor-2.2.1 features/branches/update.feature
vim-flavor-2.2.0 features/branches/update.feature
vim-flavor-2.1.1 features/branches/update.feature
vim-flavor-2.1.0 features/branches/update.feature