diff options
| author | mo khan <mo.khan@gmail.com> | 2020-04-01 09:16:44 -0600 |
|---|---|---|
| committer | mo khan <mo.khan@gmail.com> | 2020-04-01 09:19:47 -0600 |
| commit | feedd873aa2b04ab4d74f599de66364f341b0155 (patch) | |
| tree | fe06c92cec535fb7bd35debd9ec9516ab8c023da /spec/integration/ruby | |
| parent | fec5e888a10f6d6c0a64d17242d293fc9da6d3d2 (diff) | |
Fix bug with forwarding LICENSE_FINDER_CLI_OPTS
Diffstat (limited to 'spec/integration/ruby')
| -rw-r--r-- | spec/integration/ruby/bundler_spec.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/spec/integration/ruby/bundler_spec.rb b/spec/integration/ruby/bundler_spec.rb index 1245563..f2f2873 100644 --- a/spec/integration/ruby/bundler_spec.rb +++ b/spec/integration/ruby/bundler_spec.rb @@ -128,4 +128,14 @@ BUNDLED WITH }) end end + + context "when passing custom options to license finder" do + it 'forwards the options to license finder' do + report = runner.scan(env: { + 'LICENSE_FINDER_CLI_OPTS' => "--debug --aggregate-paths=. ruby" + }) + + expect(report).to match_schema(version: '2.0') + end + end end |
