mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[rubygems/rubygems] Keep different code in custom branch in dummy repo
This doesn't affect the outcome of the test, but it makes the `git commit` command inside `update_git` not fail because of not having anything to commit. https://github.com/rubygems/rubygems/commit/ad0160ed97
This commit is contained in:
parent
70066196a0
commit
b857a87653
1 changed files with 2 additions and 2 deletions
|
@ -232,7 +232,7 @@ RSpec.describe "bundle install with git sources" do
|
|||
|
||||
# want to ensure we don't fallback to HEAD
|
||||
update_git "foo", :path => lib_path("foo-1.0"), :branch => "rando" do |s|
|
||||
s.write("lib/foo.rb", "raise 'FAIL'")
|
||||
s.write("lib/foo.rb", "raise 'FAIL_FROM_RANDO'")
|
||||
end
|
||||
|
||||
install_gemfile <<-G
|
||||
|
@ -268,7 +268,7 @@ RSpec.describe "bundle install with git sources" do
|
|||
|
||||
# want to ensure we don't fallback to HEAD
|
||||
update_git "foo", :path => lib_path("foo-1.0"), :branch => "rando" do |s|
|
||||
s.write("lib/foo.rb", "raise 'FAIL'")
|
||||
s.write("lib/foo.rb", "raise 'FAIL_FROM_RANDO'")
|
||||
end
|
||||
|
||||
install_gemfile <<-G
|
||||
|
|
Loading…
Add table
Reference in a new issue