ruby-changes:61500
From: David <ko1@a...>
Date: Fri, 5 Jun 2020 07:33:30 +0900 (JST)
Subject: [ruby-changes:61500] ff74725dc3 (master): [rubygems/rubygems] Remove old no longer meaningful spec
https://git.ruby-lang.org/ruby.git/commit/?id=ff74725dc3 From ff74725dc3fe5be418f230bf09409b1de6e74349 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Rodr=C3=ADguez?= <deivid.rodriguez@r...> Date: Thu, 28 May 2020 21:04:23 +0200 Subject: [rubygems/rubygems] Remove old no longer meaningful spec This spec was originally written many years ago to verity gems were properly "remembered" in the lock file. At this point, the test feels a bit dummy since the first `bundle install` already runs on a "clean machine". https://github.com/rubygems/rubygems/commit/dbfefb3f5a diff --git a/spec/bundler/install/gemfile/groups_spec.rb b/spec/bundler/install/gemfile/groups_spec.rb index 4ae4eb1..27d9ffc 100644 --- a/spec/bundler/install/gemfile/groups_spec.rb +++ b/spec/bundler/install/gemfile/groups_spec.rb @@ -126,16 +126,6 @@ RSpec.describe "bundle install with groups" do https://github.com/ruby/ruby/blob/trunk/spec/bundler/install/gemfile/groups_spec.rb#L126 expect(the_bundle).to include_gems "activesupport 2.3.2", :groups => [:default] end - it "still works on a different machine and excludes gems" do - bundle :install, forgotten_command_line_options(:without => "emo") - - simulate_new_machine - bundle :install, forgotten_command_line_options(:without => "emo") - - expect(the_bundle).to include_gems "rack 1.0.0", :groups => [:default] - expect(the_bundle).not_to include_gems "activesupport 2.3.5", :groups => [:default] - end - it "still works when BUNDLE_WITHOUT is set" do ENV["BUNDLE_WITHOUT"] = "emo" -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/