From ff74725dc3fe5be418f230bf09409b1de6e74349 Mon Sep 17 00:00:00 2001 From: David Rodríguez 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 --- spec/bundler/install/gemfile/groups_spec.rb | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'spec/bundler/install') diff --git a/spec/bundler/install/gemfile/groups_spec.rb b/spec/bundler/install/gemfile/groups_spec.rb index 4ae4eb1862..27d9ffc279 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 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 v1.2.3