From 2edd529220ecda2b14b99c1e9c15497b1f2ae639 Mon Sep 17 00:00:00 2001 From: mo khan Date: Tue, 21 Apr 2020 22:32:31 -0600 Subject: Remove unsupported spec --- spec/integration/ruby/bundler_spec.rb | 28 ---------------------------- 1 file changed, 28 deletions(-) (limited to 'spec') 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 -- cgit v1.2.3