mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
parent
d8d5e16305
commit
c3ddd47ce7
95 changed files with 1021 additions and 1023 deletions
|
@ -16,8 +16,8 @@ RSpec.describe "bundler source plugin" do
|
|||
|
||||
it "installs bundler-source-* gem when no handler for source is present" do
|
||||
install_gemfile <<-G
|
||||
source "file://#{gem_repo2}"
|
||||
source "file://#{lib_path("gitp")}", :type => :psource do
|
||||
source "#{file_uri_for(gem_repo2)}"
|
||||
source "#{file_uri_for(lib_path("gitp"))}", :type => :psource do
|
||||
end
|
||||
G
|
||||
|
||||
|
@ -37,8 +37,8 @@ RSpec.describe "bundler source plugin" do
|
|||
end
|
||||
|
||||
install_gemfile <<-G
|
||||
source "file://#{gem_repo2}"
|
||||
source "file://#{lib_path("gitp")}", :type => :psource do
|
||||
source "#{file_uri_for(gem_repo2)}"
|
||||
source "#{file_uri_for(lib_path("gitp"))}", :type => :psource do
|
||||
end
|
||||
G
|
||||
|
||||
|
@ -61,11 +61,11 @@ RSpec.describe "bundler source plugin" do
|
|||
context "explicit presence in gemfile" do
|
||||
before do
|
||||
install_gemfile <<-G
|
||||
source "file://#{gem_repo2}"
|
||||
source "#{file_uri_for(gem_repo2)}"
|
||||
|
||||
plugin "another-psource"
|
||||
|
||||
source "file://#{lib_path("gitp")}", :type => :psource do
|
||||
source "#{file_uri_for(lib_path("gitp"))}", :type => :psource do
|
||||
end
|
||||
G
|
||||
end
|
||||
|
@ -86,11 +86,11 @@ RSpec.describe "bundler source plugin" do
|
|||
context "explicit default source" do
|
||||
before do
|
||||
install_gemfile <<-G
|
||||
source "file://#{gem_repo2}"
|
||||
source "#{file_uri_for(gem_repo2)}"
|
||||
|
||||
plugin "bundler-source-psource"
|
||||
|
||||
source "file://#{lib_path("gitp")}", :type => :psource do
|
||||
source "#{file_uri_for(lib_path("gitp"))}", :type => :psource do
|
||||
end
|
||||
G
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue