summaryrefslogtreecommitdiff
path: root/spec/integration/dotnet/examples_spec.rb
blob: f9c63ea8c731fa9d4e3a36a47dc89102c90e8de5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
require 'spec_helper'

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

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