Sha256: bd9e14ab7581920b300dd4c3185811c2bed82c094e54a5edebc919b19c9b90a9

Contents?: true

Size: 1.29 KB

Versions: 3

Compression:

Stored size: 1.29 KB

Contents

@announce
Feature: Store Local Package Remotely

  Scenario: No Gemfile (store)
    Given there is no Gemfile.lock in the current directory
     When I run `bundle-depot store`
     Then the output should contain "Couldn't find Gemfile.lock"
     And the exit status should not be 0

  Scenario: Does nothing if remote cache contains the bundle
    Given there is the project "json" in the current directory
      And the remote cache contains the packed bundle for "json" 
     When I run `bundle-depot store`
     Then the exit status should be 0 

  Scenario: Fails if local cache does not contain the bundle 
    Given an empty file named "Gemfile.lock"
      And the remote cache does not contain the packed bundle "json"
      And the local cache does not contain the bundle "json"
     When I run `bundle-depot store`
     Then the output should contain "Couldn't find the cached bundle."
      And the exit status should not be 0 

  Scenario: Uploads the Bundle to remote cache 
    Given there is the project "json" in the current directory
      And the remote cache does not contain the packed bundle "json"
      And the local cache contains the bundle "json"
     When I run `bundle-depot store`
     Then the exit status should be 0 
      And the remote cache should contain the packed bundle "json"

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
bundle_depot-0.0.3 features/store.feature
bundle_depot-0.0.2 features/store.feature
bundle_depot-0.0.1 features/store.feature