diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2021-11-11 20:31:24 +0100 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2021-11-12 06:05:09 +0900 |
commit | 3cf7130d709ea5d54f3b0920fb5c1bece9dc20c1 (patch) | |
tree | 73a1d913fa1836dc064a72f14292b1add6155a1e /spec/bundler/update | |
parent | 4736dec58ba81283c4351a2d682a4be432b0c28d (diff) | |
download | ruby-3cf7130d709ea5d54f3b0920fb5c1bece9dc20c1.tar.gz |
[rubygems/rubygems] Remove duplicated spec
https://github.com/rubygems/rubygems/commit/86b874ed24
Diffstat (limited to 'spec/bundler/update')
-rw-r--r-- | spec/bundler/update/git_spec.rb | 38 |
1 files changed, 1 insertions, 37 deletions
diff --git a/spec/bundler/update/git_spec.rb b/spec/bundler/update/git_spec.rb index af014c5fe0..0787ee41a7 100644 --- a/spec/bundler/update/git_spec.rb +++ b/spec/bundler/update/git_spec.rb @@ -293,43 +293,7 @@ RSpec.describe "bundle update" do G end - it "the --source flag updates version of gems that were originally pulled in by the source", :bundler => "< 3" do - spec_lines = lib_path("bar/foo.gemspec").read.split("\n") - spec_lines[5] = "s.version = '2.0'" - - update_git "foo", "2.0", :path => @git.path do |s| - s.write "foo.gemspec", spec_lines.join("\n") - end - - ref = @git.ref_for "master" - - bundle "update --source bar" - - expect(lockfile).to eq <<~G - GIT - remote: #{@git.path} - revision: #{ref} - specs: - foo (2.0) - - GEM - remote: #{file_uri_for(gem_repo2)}/ - specs: - rack (1.0.0) - - PLATFORMS - #{lockfile_platforms} - - DEPENDENCIES - foo! - rack - - BUNDLED WITH - #{Bundler::VERSION} - G - end - - it "the --source flag updates version of gems that were originally pulled in by the source", :bundler => "3" do + it "the --source flag updates version of gems that were originally pulled in by the source" do spec_lines = lib_path("bar/foo.gemspec").read.split("\n") spec_lines[5] = "s.version = '2.0'" |