We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f742f9f commit 2c366d8Copy full SHA for 2c366d8
spec/sanity_check_spec.rb
@@ -7,7 +7,7 @@
7
8
before{ FileUtils.mkdir_p tmp_root }
9
10
- def bundler_env
+ def with_clean_env
11
if Bundler.respond_to?(:with_unbundled_env)
12
Bundler.with_unbundled_env { yield }
13
else
@@ -25,7 +25,7 @@ def bundler_env
25
end
26
FileUtils.chmod 0777, script
27
28
- bundler_env do
+ with_clean_env do
29
expect(`bundle exec #{script} 2>&1`).
30
to match(/uninitialized constant RSpec::Support/).
31
or match(/undefined method `require_rspec_core' for RSpec::Support:Module/)
@@ -46,7 +46,7 @@ def bundler_env
46
47
48
49
50
expect(`bundle exec #{script} 2>&1`).to be_empty
51
expect($?.exitstatus).to eq(0)
52
0 commit comments