diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-10-30 18:23:54 +0100 |
---|---|---|
committer | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-11-04 17:49:26 +0100 |
commit | 8587a5e8505ea36ab840afc6d47413e44522931e (patch) | |
tree | 1d322255720e477af1ca58154a1f8413199b4ccd /spec/realworld | |
parent | 13ed83f6d40fa30bffa7496d85f0dcd03452f4ed (diff) | |
download | bundler-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.rb | 4 | ||||
-rw-r--r-- | spec/realworld/edgecases_spec.rb | 6 |
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) |