summaryrefslogtreecommitdiff
path: root/spec/bundler/commands/inject_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/bundler/commands/inject_spec.rb')
-rw-r--r--spec/bundler/commands/inject_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/bundler/commands/inject_spec.rb b/spec/bundler/commands/inject_spec.rb
index d091e01380..b7ffc89a34 100644
--- a/spec/bundler/commands/inject_spec.rb
+++ b/spec/bundler/commands/inject_spec.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: true
-RSpec.describe "bundle inject", :bundler => "< 3" do
+RSpec.describe "bundle inject", :bundler => "< 2" do
before :each do
gemfile <<-G
source "file://#{gem_repo1}"
@@ -79,7 +79,7 @@ Usage: "bundle inject GEM VERSION"
context "when frozen" do
before do
bundle "install"
- if Bundler.feature_flag.bundler_3_mode?
+ if Bundler.feature_flag.bundler_2_mode?
bundle! "config --local deployment true"
else
bundle! "config --local frozen true"