Sha256: 3e8abaa67dabccdd7939494810b12ddb41982206be3363b5130ab2db0842ddf9

Contents?: true

Size: 1.24 KB

Versions: 14

Compression:

Stored size: 1.24 KB

Contents

Feature: Dependencies

  Scenario: deps:gems should install Gemfile dependencies
    Given a file named "Gemfile" with:
      """
      source 'https://rubygems.org'
      gem 'bundler'
      """
    And an empty file named "Hemfile"
    When I run `hem deps gems`
    Then the output should contain "Using bundler"
    And a file named "Gemfile.lock" should exist

  Scenario: deps:composer should install composer dependencies
    Given a file named "composer.json" with:
      """
      {
        "require": {
          "whatthejeff/fab": "*"
        }
      }
      """
    And an empty file named "Hemfile"
    When I run `hem deps composer`
    Then the output should contain "Installing whatthejeff/fab"
    And a file named "composer.lock" should exist

  Scenario: deps:chef should install chef dependencies
    Given a file named "Cheffile" with:
      """
      site 'http://community.opscode.com/api/v1'
      cookbook 'apache2'
      """
    And an empty file named "Hemfile"
    And a file named "Gemfile" with:
      """
      source 'https://rubygems.org'
      gem 'librarian-chef'
      """
    When I run `bundle install`
    And I run `hem deps chef`
    Then the output should contain "apache2"
    And a file named "Cheffile.lock" should exist

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
hem-1.2.4 features/deps.feature
hem-1.2.3 features/deps.feature
hem-1.2.2 features/deps.feature
hem-1.2.1 features/deps.feature
hem-1.2.0 features/deps.feature
hem-1.1.2 features/deps.feature
hem-1.1.1 features/deps.feature
hem-1.1.0 features/deps.feature
hem-1.0.1.beta6 features/deps.feature
hem-1.0.1.beta5 features/deps.feature
hem-1.0.1.beta4 features/deps.feature
hem-1.0.1.beta3 features/deps.feature
hem-1.0.1.beta2 features/deps.feature
hem-1.0.1.beta1 features/deps.feature