Sha256: 560b9ec40795c36bdcdaf732e9775bb8048b8a138e49ff6a189e65ff67013db9

Contents?: true

Size: 1011 Bytes

Versions: 1

Compression:

Stored size: 1011 Bytes

Contents

Feature: Install plugin

  Background:
    Given a directory named ".vimmer"
    And a bundle path set for my system

  Scenario: Install from Github
    Given I have no plugins installed
    When I successfully run "vimmer install 'https://github.com/tpope/vim-awesomemofo.git'"
    Then a plugin named "vim-awesomemofo" should be installed
    And the stdout should contain "vim-awesomemofo has been installed"

  Scenario: Install from Github with bad URL
    Given I have no plugins installed
    When I run "vimmer install 'https://github.com/tpope/not-found.git'"
    Then I should still not have any plugins installed
    And it should fail with:
    """
    The plugin not-found could not be found
    """

  Scenario: Install from Github with a non-Github URL
    Given I have no plugins installed
    When I run "vimmer install 'http://example.com/bad'"
    Then I should still not have any plugins installed
    And it should fail with:
    """
    The URL http://example.com/bad is invalid.
    """

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vimmer-0.1.0 features/install.feature