diff options
Diffstat (limited to 'spec/bundler/other')
-rw-r--r-- | spec/bundler/other/major_deprecation_spec.rb | 28 | ||||
-rw-r--r-- | spec/bundler/other/platform_spec.rb | 10 |
2 files changed, 19 insertions, 19 deletions
diff --git a/spec/bundler/other/major_deprecation_spec.rb b/spec/bundler/other/major_deprecation_spec.rb index 1f01ec1d1a..3915cc2bac 100644 --- a/spec/bundler/other/major_deprecation_spec.rb +++ b/spec/bundler/other/major_deprecation_spec.rb @@ -146,7 +146,7 @@ RSpec.describe "major deprecations" do describe "bundle config" do describe "old list interface" do before do - bundle! "config" + bundle "config" end it "warns", :bundler => "3" do @@ -158,7 +158,7 @@ RSpec.describe "major deprecations" do describe "old get interface" do before do - bundle! "config waka" + bundle "config waka" end it "warns", :bundler => "3" do @@ -170,7 +170,7 @@ RSpec.describe "major deprecations" do describe "old set interface" do before do - bundle! "config waka wakapun" + bundle "config waka wakapun" end it "warns", :bundler => "3" do @@ -182,7 +182,7 @@ RSpec.describe "major deprecations" do describe "old set interface with --local" do before do - bundle! "config --local waka wakapun" + bundle "config --local waka wakapun" end it "warns", :bundler => "3" do @@ -194,7 +194,7 @@ RSpec.describe "major deprecations" do describe "old set interface with --global" do before do - bundle! "config --global waka wakapun" + bundle "config --global waka wakapun" end it "warns", :bundler => "3" do @@ -206,7 +206,7 @@ RSpec.describe "major deprecations" do describe "old unset interface" do before do - bundle! "config --delete waka" + bundle "config --delete waka" end it "warns", :bundler => "3" do @@ -218,7 +218,7 @@ RSpec.describe "major deprecations" do describe "old unset interface with --local" do before do - bundle! "config --delete --local waka" + bundle "config --delete --local waka" end it "warns", :bundler => "3" do @@ -230,7 +230,7 @@ RSpec.describe "major deprecations" do describe "old unset interface with --global" do before do - bundle! "config --delete --global waka" + bundle "config --delete --global waka" end it "warns", :bundler => "3" do @@ -250,14 +250,14 @@ RSpec.describe "major deprecations" do end it "warns when no options are given", :bundler => "3" do - bundle! "update" + bundle "update" expect(deprecations).to include("Pass --all to `bundle update` to update everything") end pending "fails with a helpful error when no options are given", :bundler => "3" it "does not warn when --all is passed" do - bundle! "update --all" + bundle "update --all" expect(deprecations).to be_empty end end @@ -490,7 +490,7 @@ The :gist git source is deprecated, and will be removed in the future. Add this context "without flags" do before do - bundle! :show + bundle :show end it "prints a deprecation warning recommending `bundle list`", :bundler => "2" do @@ -502,7 +502,7 @@ The :gist git source is deprecated, and will be removed in the future. Add this context "with --outdated flag" do before do - bundle! "show --outdated" + bundle "show --outdated" end it "prints a deprecation warning informing about its removal", :bundler => "2" do @@ -514,7 +514,7 @@ The :gist git source is deprecated, and will be removed in the future. Add this context "with --verbose flag" do before do - bundle! "show --verbose" + bundle "show --verbose" end it "prints a deprecation warning informing about its removal", :bundler => "2" do @@ -526,7 +526,7 @@ The :gist git source is deprecated, and will be removed in the future. Add this context "with a gem argument" do before do - bundle! "show rack" + bundle "show rack" end it "prints a deprecation warning recommending `bundle info`", :bundler => "2" do diff --git a/spec/bundler/other/platform_spec.rb b/spec/bundler/other/platform_spec.rb index 213145d2a6..cbcf9d2997 100644 --- a/spec/bundler/other/platform_spec.rb +++ b/spec/bundler/other/platform_spec.rb @@ -232,7 +232,7 @@ G #{Bundler::VERSION} L - bundle! "platform --ruby" + bundle "platform --ruby" expect(out).to eq("ruby 1.0.0p127") end @@ -241,7 +241,7 @@ G ruby ">= 1.8.7" G - bundle! "platform --ruby" + bundle "platform --ruby" expect(out).to eq("ruby 1.8.7") end @@ -250,7 +250,7 @@ G ruby ">= 1.8.7", "< 2.0.0" G - bundle! "platform --ruby" + bundle "platform --ruby" expect(out).to eq("ruby 1.8.7") end end @@ -696,7 +696,7 @@ G #{ruby_version_correct_engineless} G - bundle! :cache + bundle :cache expect(bundled_app("vendor/cache/rack-1.0.0.gem")).to exist end @@ -1148,7 +1148,7 @@ G end it "returns list of outdated gems when the ruby version matches for any engine", :jruby do - bundle! :install + bundle :install update_repo2 do build_gem "activesupport", "3.0" update_git "foo", :path => lib_path("foo") |