From b4c9ccefd6a34a24dfc509966cd679063813100f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Rodr=C3=ADguez?= Date: Wed, 13 Aug 2025 21:55:34 +0200 Subject: [rubygems/rubygems] Remove unnecessary subject from one spec https://github.com/rubygems/rubygems/commit/a761581e89 --- spec/bundler/commands/cache_spec.rb | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/spec/bundler/commands/cache_spec.rb b/spec/bundler/commands/cache_spec.rb index 20d817a47d..6e05ea4f6d 100644 --- a/spec/bundler/commands/cache_spec.rb +++ b/spec/bundler/commands/cache_spec.rb @@ -299,11 +299,6 @@ RSpec.describe "bundle cache" do bundle "install" end - subject do - bundle "config set --local frozen true" - bundle :cache, raise_on_error: false - end - it "tries to install with frozen" do bundle "config set deployment true" gemfile <<-G @@ -311,7 +306,8 @@ RSpec.describe "bundle cache" do gem "myrack" gem "myrack-obama" G - subject + bundle "config set --local frozen true" + bundle :cache, raise_on_error: false expect(exitstatus).to eq(16) expect(err).to include("frozen mode") expect(err).to include("You have added to the Gemfile") -- cgit v1.2.3