summaryrefslogtreecommitdiff
path: root/spec/bundler/cli_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/bundler/cli_spec.rb')
-rw-r--r--spec/bundler/cli_spec.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/bundler/cli_spec.rb b/spec/bundler/cli_spec.rb
index f893e7799f..beec88b8a6 100644
--- a/spec/bundler/cli_spec.rb
+++ b/spec/bundler/cli_spec.rb
@@ -59,6 +59,11 @@ RSpec.describe "bundle executable" do
bundle! "config", :verbose => true
expect(out).to start_with("Running `bundle config --verbose` with bundler #{Bundler::VERSION}")
end
+
+ it "doesn't print defaults" do
+ install_gemfile! "", :verbose => true
+ expect(out).to start_with("Running `bundle install --verbose --retry 0 --no-color` with bundler #{Bundler::VERSION}")
+ end
end
describe "printing the outdated warning" do