Sha256: f7d639cc234d2df36f0c8fd89afc8154e5c2c23cdadce0dd9c2ee0d44ec78cfc

Contents?: true

Size: 1.48 KB

Versions: 1

Compression:

Stored size: 1.48 KB

Contents

Feature: Environment management.

Scenario: Pushing to remote repo
  Given a repository with following Vendorfile:
    """ruby
    vendor 'generated', :version => '0.23' do |v|
      File.open('README', 'w') { |f| f.puts "Hello, World!" }
    end
    """
  And a remote repository
  When I successfully run `vendor sync`
  And I successfully run `vendor push`
  Then branch "vendor/generated" exists in the remote repo
  And tag "vendor/generated/0.23" exists in the remote repo
  And notes ref "vendor" exists in the remote repo
  And there's a git commit note including "master" in "current_branch"

Scenario: Getting module information
  Given a repository with following Vendorfile:
    """ruby
    vendor 'generated', :version => '0.23' do |v|
      File.open('README', 'w') { |f| f.puts "Hello, World!" }
    end
    """
  And a remote repository
  When I successfully run `vendor sync`
  And I successfully run `vendor info generated`
  Then the last output should match /Module merged version: 0.23/
  And the last output should match /unparsed_args/

Scenario: Getting revision information
  Given a repository with following Vendorfile:
    """ruby
    vendor 'generated', :version => '0.23' do |v|
      File.open('README', 'w') { |f| f.puts "Hello, World!" }
    end
    """
  And a remote repository
  When I successfully run `vendor sync`
  And I successfully run `vendor info HEAD\^2`
  Then the last output should match /master, vendor\/generated/
  Then the last output should match /:unparsed_args/

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vendorificator-0.4.0 features/environment.feature