diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-04-04 22:23:44 +0200 |
---|---|---|
committer | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-04-11 13:25:59 +0200 |
commit | b9baa34673b96419410bd7c61d379bc8c89d798e (patch) | |
tree | acd392e65c87618a82afbd9d6051de4dddc6e387 /spec/commands/pristine_spec.rb | |
parent | 4e96e9b7b921a2792f14e9127c7d9a0838832e57 (diff) | |
download | bundler-b9baa34673b96419410bd7c61d379bc8c89d798e.tar.gz |
Move on to bundler 3
* Drop bundler 1 stuff from tests.
* Move all feature flags to bundler 3 (like they are in 2-0-stable) and
get them tested.
Diffstat (limited to 'spec/commands/pristine_spec.rb')
-rw-r--r-- | spec/commands/pristine_spec.rb | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/spec/commands/pristine_spec.rb b/spec/commands/pristine_spec.rb index d747fb9844..93eb81f2af 100644 --- a/spec/commands/pristine_spec.rb +++ b/spec/commands/pristine_spec.rb @@ -48,7 +48,14 @@ RSpec.describe "bundle pristine", :ruby_repo do bundle! "install" bundle! "pristine", :system_bundler => true bundle! "-v", :system_bundler => true - expect(out).to end_with(Bundler::VERSION) + + expected = if Bundler::VERSION < "3.0" + "Bundler version" + else + Bundler::VERSION + end + + expect(out).to start_with(expected) end end |