summaryrefslogtreecommitdiff
path: root/spec/bundler/runtime/gem_tasks_spec.rb
diff options
context:
space:
mode:
authorDavid Rodríguez <[email protected]>2019-08-03 14:06:58 +0200
committerHiroshi SHIBATA <[email protected]>2019-08-17 17:08:49 +0900
commitef2d4158028ab253fbd4b27d3cd3ffb4df5bffb7 (patch)
treed2818a3b9382e07c9a26e089b26c06099b1c1f43 /spec/bundler/runtime/gem_tasks_spec.rb
parent7664b5cb6549d09935c4bf0fe67392708a9c19c2 (diff)
[bundler/bundler] Remove duplicated method
https://github.com/bundler/bundler/commit/afdacd62ac
Diffstat (limited to 'spec/bundler/runtime/gem_tasks_spec.rb')
-rw-r--r--spec/bundler/runtime/gem_tasks_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/bundler/runtime/gem_tasks_spec.rb b/spec/bundler/runtime/gem_tasks_spec.rb
index eb9db56ead..af645c8ef1 100644
--- a/spec/bundler/runtime/gem_tasks_spec.rb
+++ b/spec/bundler/runtime/gem_tasks_spec.rb
@@ -11,7 +11,7 @@ RSpec.describe "require 'bundler/gem_tasks'" do
end
bundled_app("Rakefile").open("w") do |f|
f.write <<-RAKEFILE
- $:.unshift("#{bundler_path}")
+ $:.unshift("#{lib}")
require "bundler/gem_tasks"
RAKEFILE
end
@@ -19,7 +19,7 @@ RSpec.describe "require 'bundler/gem_tasks'" do
it "includes the relevant tasks" do
with_gem_path_as(Spec::Path.base_system_gems.to_s) do
- sys_exec "#{rake} -T", "RUBYOPT" => "-I#{bundler_path}"
+ sys_exec "#{rake} -T", "RUBYOPT" => "-I#{lib}"
end
expect(err).to eq("")