Sha256: f16419e41e10a28e2783cd3fb1f10d765047554dbaadc6870e6b3e2db6249ccd

Contents?: true

Size: 869 Bytes

Versions: 5

Compression:

Stored size: 869 Bytes

Contents

Feature: Use different environments for vimpack

  As a vimpack user
  I want to use different environments
  Mostly so I can test vimpack

  Background: Setup test directories
    Given a directory named "test_vimpack/.vim"
      And an empty file named "test_vimpack/.vimrc"
      And "test_vimpack" is my home directory

  Scenario: Default environment should be production and should not alert
    When I run `vimpack init`
    Then the output should not contain " * using production environment!"
      And the exit status should be 0

  Scenario: When not in production environment we should be alerted
    When I run `vimpack --environment development init`
    Then the output should contain:
    """
     * using environment :development
    """
      And the output should not contain " * using production environment"
      And the exit status should be 0


Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
vimpack-0.0.4 features/commands/environments.feature
vimpack-0.0.3 features/commands/environments.feature
vimpack-0.0.2 features/commands/environments.feature
vimpack-0.0.1.1 features/commands/environments.feature
vimpack-0.0.1 features/commands/environments.feature