From d03e11e2bc88eb7c26aae6a983d1cb4edcddd375 Mon Sep 17 00:00:00 2001 From: mo khan Date: Thu, 10 Sep 2020 16:28:14 -0600 Subject: test: update test to fetch a single dependency --- spec/fixtures/ruby/bundler-custom-tls/Gemfile | 2 +- spec/fixtures/ruby/bundler-custom-tls/Gemfile.lock | 29 +--------------------- spec/integration/ruby/bundler_spec.rb | 4 +-- 3 files changed, 4 insertions(+), 31 deletions(-) diff --git a/spec/fixtures/ruby/bundler-custom-tls/Gemfile b/spec/fixtures/ruby/bundler-custom-tls/Gemfile index 1e46ec3..0172c9f 100644 --- a/spec/fixtures/ruby/bundler-custom-tls/Gemfile +++ b/spec/fixtures/ruby/bundler-custom-tls/Gemfile @@ -1,3 +1,3 @@ source "https://rubygems.test" -gem "spandx" +gem "net-hippie" diff --git a/spec/fixtures/ruby/bundler-custom-tls/Gemfile.lock b/spec/fixtures/ruby/bundler-custom-tls/Gemfile.lock index 0568b0f..45a799d 100644 --- a/spec/fixtures/ruby/bundler-custom-tls/Gemfile.lock +++ b/spec/fixtures/ruby/bundler-custom-tls/Gemfile.lock @@ -1,40 +1,13 @@ GEM remote: https://rubygems.test/ specs: - addressable (2.7.0) - public_suffix (>= 2.0.2, < 5.0) - mini_portile2 (2.4.0) net-hippie (0.3.2) - nokogiri (1.10.9) - mini_portile2 (~> 2.4.0) - oj (3.10.6) - parslet (2.0.0) - public_suffix (4.0.5) - spandx (0.13.5) - addressable (~> 2.7) - bundler (>= 1.16, < 3.0.0) - net-hippie (~> 0.3) - nokogiri (~> 1.10) - oj (~> 3.10) - parslet (~> 2.0) - terminal-table (~> 1.8) - thor - tty-spinner (~> 0.9) - zeitwerk (~> 2.3) - terminal-table (1.8.0) - unicode-display_width (~> 1.1, >= 1.1.1) - thor (1.0.1) - tty-cursor (0.7.1) - tty-spinner (0.9.3) - tty-cursor (~> 0.7) - unicode-display_width (1.7.0) - zeitwerk (2.3.1) PLATFORMS ruby DEPENDENCIES - spandx + net-hippie BUNDLED WITH 2.1.4 diff --git a/spec/integration/ruby/bundler_spec.rb b/spec/integration/ruby/bundler_spec.rb index 953aec9..a08ef47 100644 --- a/spec/integration/ruby/bundler_spec.rb +++ b/spec/integration/ruby/bundler_spec.rb @@ -108,8 +108,8 @@ RSpec.describe "bundler" do specify do expect(subject).to match_schema - expect(subject.dependency_names).to include("spandx") - expect(subject.licenses_for('spandx')).to match_array('MIT') + expect(subject.dependency_names).to include("net-hippie") + expect(subject.licenses_for('net-hippie')).to match_array('MIT') end end -- cgit v1.2.3