blob: 909dd2c21611bc80a19968c0bed82d88a15fa006 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
# frozen_string_literal: true
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
|