Skip to content

Commit ef97ad3

Browse files
Avoid loading artifice when not necessary
1 parent 111bd11 commit ef97ad3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bundler/spec/runtime/self_management_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,11 @@
3232
expect(out).to eq("Removing bundler (#{Bundler::VERSION})")
3333

3434
# App now uses locked version
35-
bundle "-v"
35+
bundle "-v", artifice: nil
3636
expect(out).to end_with(previous_minor[0] == "2" ? "Bundler version #{previous_minor}" : previous_minor)
3737

3838
# Subsequent installs use the locked version without reinstalling
39-
bundle "install --verbose"
39+
bundle "install --verbose", artifice: nil
4040
expect(out).to include("Using bundler #{previous_minor}")
4141
expect(out).not_to include("Bundler #{Bundler::VERSION} is running, but your lockfile was generated with #{previous_minor}. Installing Bundler #{previous_minor} and restarting using that version.")
4242
end

0 commit comments

Comments
 (0)