summaryrefslogtreecommitdiff
path: root/spec/realworld
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/realworld
parent13ed83f6d40fa30bffa7496d85f0dcd03452f4ed (diff)
downloadbundler-8587a5e8505ea36ab840afc6d47413e44522931e.tar.gz
Rename `lib` to `lib_dir`
For consistency with `spec_dir`.
Diffstat (limited to 'spec/realworld')
-rw-r--r--spec/realworld/double_check_spec.rb4
-rw-r--r--spec/realworld/edgecases_spec.rb6
2 files changed, 5 insertions, 5 deletions
diff --git a/spec/realworld/double_check_spec.rb b/spec/realworld/double_check_spec.rb
index ce12d1566f..90cf298b33 100644
--- a/spec/realworld/double_check_spec.rb
+++ b/spec/realworld/double_check_spec.rb
@@ -25,9 +25,9 @@ RSpec.describe "double checking sources", :realworld => true, :sometimes => true
RUBY
cmd = <<-RUBY
- require "#{lib}/bundler"
+ require "#{lib_dir}/bundler"
require "#{spec_dir}/support/artifice/vcr"
- require "#{lib}/bundler/inline"
+ require "#{lib_dir}/bundler/inline"
gemfile(true) do
source "https://rubygems.org"
gem "rails", path: "."
diff --git a/spec/realworld/edgecases_spec.rb b/spec/realworld/edgecases_spec.rb
index dfddd124d8..53d9f9a026 100644
--- a/spec/realworld/edgecases_spec.rb
+++ b/spec/realworld/edgecases_spec.rb
@@ -4,9 +4,9 @@ RSpec.describe "real world edgecases", :realworld => true, :sometimes => true do
def rubygems_version(name, requirement)
ruby! <<-RUBY
require "#{spec_dir}/support/artifice/vcr"
- require "#{lib}/bundler"
- require "#{lib}/bundler/source/rubygems/remote"
- require "#{lib}/bundler/fetcher"
+ require "#{lib_dir}/bundler"
+ require "#{lib_dir}/bundler/source/rubygems/remote"
+ require "#{lib_dir}/bundler/fetcher"
rubygem = Bundler.ui.silence do
source = Bundler::Source::Rubygems::Remote.new(URI("https://rubygems.org"))
fetcher = Bundler::Fetcher.new(source)