summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2019-07-15 19:17:11 +0200
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2019-08-03 09:29:58 +0900
commit4f5e1b6ebf4a122fe935c55224ce8e9937288582 (patch)
tree9130359eba99393b3b56ec22960d6177a0a8bcb8 /spec
parentf73020d493ec2bf7c79fc118f83f328caee701d7 (diff)
[bundler/bundler] Remove `cache_command_is_package` feature flag
So that we handle the removal of `bundle cache` just like we'll handle the removal of `bundle show` and `bundle console`. https://github.com/bundler/bundler/commit/ff1a669efb
Diffstat (limited to 'spec')
-rw-r--r--spec/bundler/other/cli_dispatch_spec.rb9
-rw-r--r--spec/bundler/quality_spec.rb1
2 files changed, 0 insertions, 10 deletions
diff --git a/spec/bundler/other/cli_dispatch_spec.rb b/spec/bundler/other/cli_dispatch_spec.rb
index 548539ac89..0082606d7e 100644
--- a/spec/bundler/other/cli_dispatch_spec.rb
+++ b/spec/bundler/other/cli_dispatch_spec.rb
@@ -17,13 +17,4 @@ RSpec.describe "bundle command names" do
bundle "in"
expect(err).to eq("Ambiguous command in matches [info, init, inject, install]")
end
-
- context "when cache_command_is_package is set" do
- before { bundle! "config set cache_command_is_package true" }
-
- it "dispatches `bundle cache` to the package command" do
- bundle "cache --verbose"
- expect(out).to start_with "Running `bundle package --verbose`"
- end
- end
end
diff --git a/spec/bundler/quality_spec.rb b/spec/bundler/quality_spec.rb
index ead30022cc..9db8baa4c0 100644
--- a/spec/bundler/quality_spec.rb
+++ b/spec/bundler/quality_spec.rb
@@ -162,7 +162,6 @@ RSpec.describe "The library itself" do
it "documents all used settings" do
exemptions = %w[
auto_config_jobs
- cache_command_is_package
deployment_means_frozen
forget_cli_options
gem.coc