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.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/bundler/commands/inject_spec.rb b/spec/bundler/commands/inject_spec.rb
index 822644f39a..d091e01380 100644
--- a/spec/bundler/commands/inject_spec.rb
+++ b/spec/bundler/commands/inject_spec.rb
@@ -79,7 +79,7 @@ Usage: "bundle inject GEM VERSION"
context "when frozen" do
before do
bundle "install"
- if Bundler.feature_flag.bundler_2_mode?
+ if Bundler.feature_flag.bundler_3_mode?
bundle! "config --local deployment true"
else
bundle! "config --local frozen true"