Sha256: 06f4e8a8fd457859f5dc37a896be5671047149f46c6e5f23a5779615a1902f41

Contents?: true

Size: 912 Bytes

Versions: 2

Compression:

Stored size: 912 Bytes

Contents

Feature: Get information about a script

  As a vimpack user
  I want to get information about a vim script
  So I know more about what I am working with

  Scenario: Get script detailed information
    Given an initialized vimpack in "test_vimpack"
    When I run `vimpack -e development info rails.vim`
    Then the output should contain:
      """
      Name: rails.vim
      Author: Tim Pope
      Version: 4.3 (2010-09-09T17:00:00-07:00)
      Type: utility
      Description: Ruby on Rails: easy file navigation, enhanced syntax highlighting, and more
      """
      And the exit status should be 0

  Scenario: Try to get info for a script that does not exist
    Given an initialized vimpack in "test_vimpack"
    When I run `vimpack -e development info this_does_not_exists_i_swear`
    Then the output should contain:
      """
      Script not found!
      """
      And the exit status should be 1

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
vimpack-0.0.1.1 features/commands/info.feature
vimpack-0.0.1 features/commands/info.feature