Sha256: bc8c5c49e5f4b1c37612ea4aedf5ca487cdaf0874fe08a064bf4b271254994f0

Contents?: true

Size: 522 Bytes

Versions: 1

Compression:

Stored size: 522 Bytes

Contents

Feature: Create a wrapper

  So that I can control files executed by a program
  As a user of the program
  I want to create a wrapper in my search path

  Scenario: Wrapper creation
    Given my home directory is the current working directory
    And a directory named "bin"
    When I run `alternator wrap ruby ruby19`
    Then the file "bin/ruby" must be executable
    And the file "bin/ruby" must contain exactly:
      """
      #!/usr/bin/env sh

      exec ruby19 $@

      """
    And the exit status should be 0

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
alternator-0.0.2 features/wrapper.feature