diff options
author | David RodrÃguez <[email protected]> | 2020-06-03 20:45:36 +0200 |
---|---|---|
committer | Hiroshi SHIBATA <[email protected]> | 2020-06-18 19:14:15 +0900 |
commit | 1436b5026cd1b2ac4b428955aeadaac8e8b12b1b (patch) | |
tree | 14f9fa8724d3a96b0b221a39d0e1cbd9cd125197 /spec/bundler/cache/git_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/cache/git_spec.rb')
-rw-r--r-- | spec/bundler/cache/git_spec.rb | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/spec/bundler/cache/git_spec.rb b/spec/bundler/cache/git_spec.rb index e29f16f012..b015ed8909 100644 --- a/spec/bundler/cache/git_spec.rb +++ b/spec/bundler/cache/git_spec.rb @@ -59,8 +59,8 @@ RSpec.describe "bundle cache with git" do G bundle "config set cache_all true" - bundle! :cache - bundle! :cache + bundle :cache + bundle :cache expect(out).to include "Updating files in vendor/cache" FileUtils.rm_rf lib_path("foo-1.0") @@ -85,9 +85,9 @@ RSpec.describe "bundle cache with git" do ref = git.ref_for("master", 11) expect(ref).not_to eq(old_ref) - bundle! "update", :all => true + bundle "update", :all => true bundle "config set cache_all true" - bundle! :cache + bundle :cache expect(bundled_app("vendor/cache/foo-1.0-#{ref}")).to exist expect(bundled_app("vendor/cache/foo-1.0-#{old_ref}")).not_to exist @@ -106,7 +106,7 @@ RSpec.describe "bundle cache with git" do G bundle "config set cache_all true" - bundle! :cache + bundle :cache update_git "foo" do |s| s.write "lib/foo.rb", "puts :CACHE" @@ -225,13 +225,13 @@ RSpec.describe "bundle cache with git" do gemfile <<-G gem "foo", :git => '#{lib_path("foo-1.0")}' G - bundle! "config set cache_all true" - bundle! :cache, "all-platforms" => true, :install => false, :path => "./vendor/cache" + bundle "config set cache_all true" + bundle :cache, "all-platforms" => true, :install => false, :path => "./vendor/cache" simulate_new_machine with_path_as "" do - bundle! "config set deployment true" - bundle! :install, :local => true + bundle "config set deployment true" + bundle :install, :local => true expect(the_bundle).to include_gem "foo 1.0" end end |