blob: 43caea05f7cfccbb8a61b7c8ab6467ce5de6e8cc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
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).not_to be_empty
expect(report[:licenses].count).not_to be_zero
expect(report[:dependencies].count).not_to be_zero
end
end
|