summaryrefslogtreecommitdiff
path: root/spec/integration/dotnet/examples_spec.rb
blob: 5df675cdbc39a441c79d28e41105003a3347b13c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# frozen_string_literal: true

RSpec.describe '.NET Core' do
  it 'scans https://github.com/microsoft/RockPaperScissorsLizardSpock.git' do
    runner.clone('https://github.com/microsoft/RockPaperScissorsLizardSpock.git')
    report = runner.scan(env: { 'LICENSE_FINDER_CLI_OPTS' => '--recursive' })

    expect(report).to match_schema(version: '2.0')
    expect(report[:licenses].count).not_to be_zero
    expect(report[:dependencies].count).not_to be_zero
  end
end