summaryrefslogtreecommitdiff
path: root/spec/bundler/other/cli_dispatch_spec.rb
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/bundler/other/cli_dispatch_spec.rb
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/bundler/other/cli_dispatch_spec.rb')
-rw-r--r--spec/bundler/other/cli_dispatch_spec.rb9
1 files changed, 0 insertions, 9 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