summaryrefslogtreecommitdiff
path: root/spec/bundler/plugins/source
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2020-01-08 16:11:52 +0900
committerSHIBATA Hiroshi <hsbt@ruby-lang.org>2020-01-08 18:00:32 +0900
commit13f4f07f215ca66cc727c75e0c3d77389c261e14 (patch)
treeebc5d3ad100f4e48773757460ddee256f0035fcb /spec/bundler/plugins/source
parentf518b608d64d08024139e8259f5c7b77e630bfff (diff)
Merge bundler-2.1.4
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/2822
Diffstat (limited to 'spec/bundler/plugins/source')
-rw-r--r--spec/bundler/plugins/source/example_spec.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/spec/bundler/plugins/source/example_spec.rb b/spec/bundler/plugins/source/example_spec.rb
index 64002d8f46..f2151a5a73 100644
--- a/spec/bundler/plugins/source/example_spec.rb
+++ b/spec/bundler/plugins/source/example_spec.rb
@@ -125,14 +125,14 @@ RSpec.describe "real source plugins" do
end
it "installs the gem executables" do
- build_lib "gem-with-bin" do |s|
+ build_lib "gem_with_bin" do |s|
s.executables = ["foo"]
end
install_gemfile <<-G
source "#{file_uri_for(gem_repo2)}" # plugin source
- source "#{lib_path("gem-with-bin-1.0")}", :type => :mpath do
- gem "gem-with-bin"
+ source "#{lib_path("gem_with_bin-1.0")}", :type => :mpath do
+ gem "gem_with_bin"
end
G
@@ -451,7 +451,7 @@ RSpec.describe "real source plugins" do
bundle "install"
run <<-RUBY
- require 'ma-gitp-gem'
+ require 'ma/gitp/gem'
puts "WIN" unless defined?(MAGITPGEM_PREV_REF)
RUBY
expect(out).to eq("WIN")
@@ -462,7 +462,7 @@ RSpec.describe "real source plugins" do
bundle "update ma-gitp-gem"
run <<-RUBY
- require 'ma-gitp-gem'
+ require 'ma/gitp/gem'
puts "WIN" if defined?(MAGITPGEM_PREV_REF)
RUBY
expect(out).to eq("WIN")