summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormo khan <mo.khan@gmail.com>2020-04-21 22:32:31 -0600
committermo khan <mo.khan@gmail.com>2020-04-21 22:32:31 -0600
commit2edd529220ecda2b14b99c1e9c15497b1f2ae639 (patch)
tree03edf8f57291cb79777915e61c7a8fa5aa649363
parent8abda97740b1e4329449c5a93473151d48da2594 (diff)
Remove unsupported spec
-rwxr-xr-x[-rw-r--r--]bin/bootstrap0
-rw-r--r--spec/integration/ruby/bundler_spec.rb28
2 files changed, 0 insertions, 28 deletions
diff --git a/bin/bootstrap b/bin/bootstrap
index 7a9d9cd..7a9d9cd 100644..100755
--- a/bin/bootstrap
+++ b/bin/bootstrap
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