Skip to content

Commit 22d2fef

Browse files
committed
Use .original_env because .with_clean_env is deprecated
Deprecation warning: [DEPRECATED] `Bundler.with_clean_env` has been deprecated in favor of `Bundler.with_unbundled_env`. If you instead want the environment before bundler was originally loaded, use `Bundler.with_original_env` (called at spec/integration/integration_spec.rb:40)
1 parent 868477f commit 22d2fef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/integration/integration_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ module Files
3737
# Don't proceed if the working copy is dirty!
3838
expect(Annotate::Integration.clean?(test_rig)).to eq(true)
3939

40-
Bundler.with_clean_env do
40+
Bundler.original_env do
4141
expect(1).to eq(1)
4242

4343
dir base_dir do

0 commit comments

Comments
 (0)