summaryrefslogtreecommitdiff
path: root/spec/integration/ruby/bundler_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/integration/ruby/bundler_spec.rb')
-rw-r--r--spec/integration/ruby/bundler_spec.rb10
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