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.rb28
1 files changed, 0 insertions, 28 deletions
diff --git a/spec/integration/ruby/bundler_spec.rb b/spec/integration/ruby/bundler_spec.rb
index e0fc647..18220b6 100644
--- a/spec/integration/ruby/bundler_spec.rb
+++ b/spec/integration/ruby/bundler_spec.rb
@@ -5,24 +5,6 @@ require 'spec_helper'
RSpec.describe 'bundler' do
include_examples 'each report version', 'ruby', 'bundler'
- context 'when the project depends on an older version of ruby specified in a `.ruby-version` file' do
- pending 'installs the required ruby and produces a valid report' do
- runner.add_file('.ruby-version', 'ruby-2.4.9')
- runner.add_file('Gemfile') do
- <<~RAW
- source 'https://rubygems.org'
-
- gem 'saml-kit'
- RAW
- end
-
- report = runner.scan
- expect(report).to match_schema(version: '2.0')
- expect(report[:licenses]).not_to be_empty
- expect(report[:dependencies].map { |x| x[:name] }).to include('saml-kit')
- end
- end
-
context 'when a project depends on an older version of bundler' do
it 'produces a valid report' do
runner.add_file('Gemfile') do
@@ -131,14 +113,4 @@ RSpec.describe 'bundler' do
})
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