diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2020-06-03 20:45:36 +0200 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2020-06-18 19:14:15 +0900 |
commit | 1436b5026cd1b2ac4b428955aeadaac8e8b12b1b (patch) | |
tree | 14f9fa8724d3a96b0b221a39d0e1cbd9cd125197 /spec/bundler/install/gemfile/specific_platform_spec.rb | |
parent | 481840ff18b2d66b20a42240829e06829c34f8f7 (diff) |
[rubygems/rubygems] s/bundle!/bundle
https://github.com/rubygems/rubygems/commit/746a4b3d74
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/3212
Diffstat (limited to 'spec/bundler/install/gemfile/specific_platform_spec.rb')
-rw-r--r-- | spec/bundler/install/gemfile/specific_platform_spec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/bundler/install/gemfile/specific_platform_spec.rb b/spec/bundler/install/gemfile/specific_platform_spec.rb index a1cc6b3551..2fa7d10f9a 100644 --- a/spec/bundler/install/gemfile/specific_platform_spec.rb +++ b/spec/bundler/install/gemfile/specific_platform_spec.rb @@ -69,7 +69,7 @@ RSpec.describe "bundle install with specific_platform enabled" do it "caches both the universal-darwin and ruby gems when --all-platforms is passed" do gemfile(google_protobuf) - bundle! "package --all-platforms" + bundle "package --all-platforms" expect([cached_gem("google-protobuf-3.0.0.alpha.5.0.5.1"), cached_gem("google-protobuf-3.0.0.alpha.5.0.5.1-universal-darwin")]). to all(exist) end @@ -95,7 +95,7 @@ RSpec.describe "bundle install with specific_platform enabled" do it "adds the foreign platform" do install_gemfile!(google_protobuf) - bundle! "lock --add-platform=#{x64_mingw}" + bundle "lock --add-platform=#{x64_mingw}" expect(the_bundle.locked_gems.platforms).to eq([rb, x64_mingw, pl("x86_64-darwin-15")]) expect(the_bundle.locked_gems.specs.map(&:full_name)).to eq(%w[ @@ -107,7 +107,7 @@ RSpec.describe "bundle install with specific_platform enabled" do it "falls back on plain ruby when that version doesnt have a platform-specific gem" do install_gemfile!(google_protobuf) - bundle! "lock --add-platform=#{java}" + bundle "lock --add-platform=#{java}" expect(the_bundle.locked_gems.platforms).to eq([java, rb, pl("x86_64-darwin-15")]) expect(the_bundle.locked_gems.specs.map(&:full_name)).to eq(%w[ |