diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-05-05 17:16:44 +0200 |
---|---|---|
committer | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-05-06 15:16:29 +0200 |
commit | 40ff47ccabb160bc4e51049ea432ba365042f0b8 (patch) | |
tree | fcec2bc620e669e00dda597aadfd88733fa98693 | |
parent | bf45702c83ee8414bece8b1795fba38e1381ab4f (diff) | |
download | bundler-40ff47ccabb160bc4e51049ea432ba365042f0b8.tar.gz |
Remove incorrect lockfiles from sources specs
The lock files are not relevant for the tests, and they are incorrect
anyways.
-rw-r--r-- | spec/install/gemfile/sources_spec.rb | 41 |
1 files changed, 1 insertions, 40 deletions
diff --git a/spec/install/gemfile/sources_spec.rb b/spec/install/gemfile/sources_spec.rb index 31a104565c..b4c9d67c34 100644 --- a/spec/install/gemfile/sources_spec.rb +++ b/spec/install/gemfile/sources_spec.rb @@ -485,25 +485,6 @@ RSpec.describe "bundle install with gems on multiple sources" do gem 'bar', '~> 0.1', :source => 'file://#{gem_repo4}' G - # 3. this lockfile. - lockfile <<-L - GEM - remote: file:/Users/andre/src/bundler/bundler/tmp/gems/remote1/ - remote: file:/Users/andre/src/bundler/bundler/tmp/gems/remote4/ - specs: - bar (0.1) - foo (0.1) - rack (1.0.0) - - PLATFORMS - ruby - - DEPENDENCIES - bar (~> 0.1)! - foo (~> 0.1)! - rack - L - bundle! :install, forgotten_command_line_options(:path => "../gems/system") # 4. Then we add some new versions... @@ -578,7 +559,7 @@ RSpec.describe "bundle install with gems on multiple sources" do end # When this gemfile is installed... - gemfile <<-G + install_gemfile <<-G source "#{source_uri}" source "#{second_uri}" do @@ -588,26 +569,6 @@ RSpec.describe "bundle install with gems on multiple sources" do gem "rack-obama" G - # It creates this lockfile. - lockfile <<-L - GEM - remote: #{source_uri}/ - remote: #{second_uri}/ - specs: - rack (2.0.1.1.forked) - rack-obama (1.0) - rack - thor (0.19.1.1.forked) - - PLATFORMS - ruby - - DEPENDENCIES - rack (= 2.0.1.1.forked)! - rack-obama - thor! - L - # Then we change the Gemfile by adding a version to thor gemfile <<-G source "#{source_uri}" |