summaryrefslogtreecommitdiff
path: root/spec/bundler/shared_helpers_spec.rb
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2019-10-30 18:23:54 +0100
committerDavid Rodríguez <deivid.rodriguez@riseup.net>2019-11-04 17:49:26 +0100
commit8587a5e8505ea36ab840afc6d47413e44522931e (patch)
tree1d322255720e477af1ca58154a1f8413199b4ccd /spec/bundler/shared_helpers_spec.rb
parent13ed83f6d40fa30bffa7496d85f0dcd03452f4ed (diff)
downloadbundler-8587a5e8505ea36ab840afc6d47413e44522931e.tar.gz
Rename `lib` to `lib_dir`
For consistency with `spec_dir`.
Diffstat (limited to 'spec/bundler/shared_helpers_spec.rb')
-rw-r--r--spec/bundler/shared_helpers_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/bundler/shared_helpers_spec.rb b/spec/bundler/shared_helpers_spec.rb
index 0340cb7bae..4530a9a5cd 100644
--- a/spec/bundler/shared_helpers_spec.rb
+++ b/spec/bundler/shared_helpers_spec.rb
@@ -236,7 +236,7 @@ RSpec.describe Bundler::SharedHelpers do
shared_examples_for "ENV['RUBYOPT'] gets set correctly" do
it "ensures -rbundler/setup is at the beginning of ENV['RUBYOPT']" do
subject.set_bundle_environment
- expect(ENV["RUBYOPT"].split(" ")).to start_with("-r#{lib}/bundler/setup")
+ expect(ENV["RUBYOPT"].split(" ")).to start_with("-r#{lib_dir}/bundler/setup")
end
end