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 18:57:49 +0200 |
commit | a13046313b5d3fcfe03169325a5e2a45f3dfea29 (patch) | |
tree | d0dba0b5a883171405c67cfd206eb1418a1046ac /spec/install | |
parent | b1c7297ccfd59879d4181d72b171f3ea88ac5fbd (diff) | |
download | bundler-a13046313b5d3fcfe03169325a5e2a45f3dfea29.tar.gz |
Remove incorrect lockfiles from sources specs
The lock files are not relevant for the tests, and they are incorrect
anyways.
Diffstat (limited to 'spec/install')
-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 8e1205dfa3..4927c82ab0 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}" |