Sha256: c06e1d61fda1fabc76a6ec67805f7899028fe7cc84057f6a44855c493be9b7db

Contents?: true

Size: 633 Bytes

Versions: 3

Compression:

Stored size: 633 Bytes

Contents

require_relative '../../support/feature_helper'

describe 'Govendor Dependencies' do
  let(:go_developer) { LicenseFinder::TestingDSL::User.new }

  specify 'are shown in reports for a project' do
    project = LicenseFinder::TestingDSL::GovendorProject.create
    ENV['GOPATH'] = "#{project.project_dir}/gopath_govendor"

    go_developer.run_license_finder('gopath_govendor/src')

    expect(go_developer).to be_seeing_line 'github.com/Bowery/prompt, 0f1139e9a1c74b57ccce6bdb3cd2f7cd04dd3449, MIT'
    expect(go_developer).to be_seeing_line 'github.com/dchest/safefile, 855e8d98f1852d48dde521e0522408d1fe7e836a, unknown'
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
license_finder-4.0.2 features/features/package_managers/govendor_spec.rb
license_finder-4.0.1 features/features/package_managers/govendor_spec.rb
license_finder-3.1.1 features/features/package_managers/govendor_spec.rb