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 () | |
tree | 14f9fa8724d3a96b0b221a39d0e1cbd9cd125197 /spec/bundler/commands/check_spec.rb | |
parent | 481840ff18b2d66b20a42240829e06829c34f8f7 (diff) |
[rubygems/rubygems] s/bundle!/bundle
https://.com/rubygems/rubygems/commit/746a4b3d74
Notes: Merged: https://.com/ruby/ruby/pull/3212
-rw-r--r-- | spec/bundler/commands/check_spec.rb | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -95,13 +95,13 @@ RSpec.describe "bundle check" do end G - bundle! "install --without foo" - bundle! "check" expect(out).to include("The Gemfile's dependencies are satisfied") end it "uses the without setting" do - bundle! "config set without foo" install_gemfile! <<-G source "#{file_uri_for(gem_repo1)}" group :foo do @@ -109,7 +109,7 @@ RSpec.describe "bundle check" do end G - bundle! "check" expect(out).to include("The Gemfile's dependencies are satisfied") end @@ -213,7 +213,7 @@ RSpec.describe "bundle check" do G bundle "config --local deployment true" - bundle! "install" FileUtils.rm(bundled_app_lock) bundle :check, :raise_on_error => false @@ -233,13 +233,13 @@ RSpec.describe "bundle check" do end it "returns success" do - bundle! "check --path vendor/bundle" expect(out).to include("The Gemfile's dependencies are satisfied") end it "should write to .bundle/config" do bundle "check --path vendor/bundle" - bundle! "check" end end @@ -324,7 +324,7 @@ RSpec.describe "bundle check" do context "is newer" do it "does not change the lock but warns" do lockfile lock_with(Bundler::VERSION.succ) - bundle! :check expect(err).to include("the running version of Bundler (#{Bundler::VERSION}) is older than the version that created the lockfile (#{Bundler::VERSION.succ})") lockfile_should_be lock_with(Bundler::VERSION.succ) end |