summaryrefslogtreecommitdiff
path: root/spec/bundler/install/gemfile/platform_spec.rb
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2020-06-03 20:45:36 +0200
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2020-06-18 19:14:15 +0900
commit1436b5026cd1b2ac4b428955aeadaac8e8b12b1b (patch)
tree14f9fa8724d3a96b0b221a39d0e1cbd9cd125197 /spec/bundler/install/gemfile/platform_spec.rb
parent481840ff18b2d66b20a42240829e06829c34f8f7 (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/platform_spec.rb')
-rw-r--r--spec/bundler/install/gemfile/platform_spec.rb18
1 files changed, 9 insertions, 9 deletions
diff --git a/spec/bundler/install/gemfile/platform_spec.rb b/spec/bundler/install/gemfile/platform_spec.rb
index 65ea2bee07..a38ad4fd91 100644
--- a/spec/bundler/install/gemfile/platform_spec.rb
+++ b/spec/bundler/install/gemfile/platform_spec.rb
@@ -128,7 +128,7 @@ RSpec.describe "bundle install across platforms" do
#{Bundler::VERSION}
L
- bundle! "lock --add-platform ruby"
+ bundle "lock --add-platform ruby"
good_lockfile = strip_whitespace(<<-L)
GEM
@@ -195,23 +195,23 @@ RSpec.describe "bundle install across platforms" do
aggregate_failures do
lockfile bad_lockfile
- bundle! :install
+ bundle :install
lockfile_should_be good_lockfile
lockfile bad_lockfile
- bundle! :update, :all => true
+ bundle :update, :all => true
lockfile_should_be good_lockfile
lockfile bad_lockfile
- bundle! "update ffi"
+ bundle "update ffi"
lockfile_should_be good_lockfile
lockfile bad_lockfile
- bundle! "update empyrean"
+ bundle "update empyrean"
lockfile_should_be good_lockfile
lockfile bad_lockfile
- bundle! :lock
+ bundle :lock
lockfile_should_be good_lockfile
end
end
@@ -264,11 +264,11 @@ RSpec.describe "bundle install across platforms" do
G
bundle "config --local path vendor/bundle"
- bundle! :install
+ bundle :install
FileUtils.mv(vendored_gems, bundled_app("vendor/bundle", Gem.ruby_engine, "1.8"))
- bundle! :install
+ bundle :install
expect(vendored_gems("gems/rack-1.0.0")).to exist
end
end
@@ -386,7 +386,7 @@ RSpec.describe "bundle install with platform conditionals" do
gem "rack", :platform => [:mingw, :mswin, :x64_mingw, :jruby]
G
- bundle! "install"
+ bundle "install"
expect(err).to be_empty