summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2019-04-12 10:23:47 +0200
committerDavid Rodríguez <deivid.rodriguez@riseup.net>2019-04-27 12:45:03 +0200
commitf0ae5ebb1572177f76dbb751b241890e0e00b9c0 (patch)
tree390caa102cf454e580174e755c84c00335d1a0c9
parentcd693cc4c0e8d95eac1f69db5b8709eb98f21071 (diff)
downloadbundler-f0ae5ebb1572177f76dbb751b241890e0e00b9c0.tar.gz
Remove duplicated spec
This is essentially the same as "errors if the current is a major version older than lockfile's bundler version".
-rw-r--r--spec/lock/lockfile_spec.rb38
1 files changed, 0 insertions, 38 deletions
diff --git a/spec/lock/lockfile_spec.rb b/spec/lock/lockfile_spec.rb
index 0842a94fc5..41c4f7d6e5 100644
--- a/spec/lock/lockfile_spec.rb
+++ b/spec/lock/lockfile_spec.rb
@@ -230,44 +230,6 @@ RSpec.describe "the lockfile format" do
expect(err).to include("You must use Bundler 9999999 or greater with this lockfile.")
end
- it "shows a friendly error when running with a new bundler 2 lockfile" do
- lockfile <<-L
- GEM
- remote: https://rails-assets.org/
- specs:
- rails-assets-bootstrap (3.3.4)
- rails-assets-jquery (>= 1.9.1)
- rails-assets-jquery (2.1.4)
-
- GEM
- remote: https://rubygems.org/
- specs:
- rake (10.4.2)
-
- PLATFORMS
- ruby
-
- DEPENDENCIES
- rails-assets-bootstrap!
- rake
-
- BUNDLED WITH
- 9999999.0.0
- L
-
- install_gemfile <<-G
- source 'https://rubygems.org'
- gem 'rake'
-
- source 'https://rails-assets.org' do
- gem 'rails-assets-bootstrap'
- end
- G
-
- expect(last_command).to be_failure
- expect(err).to include("You must use Bundler 9999999 or greater with this lockfile.")
- end
-
it "warns when updating bundler major version", :bundler => "< 3" do
lockfile <<-L
GEM