summaryrefslogtreecommitdiff
path: root/spec/integration/dotnet/examples_spec.rb
blob: 8b325b7ac3aa7e6d2a5218ce4626e8dc6f04badf (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')
    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