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.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/spec/bundler/cli_spec.rb b/spec/bundler/cli_spec.rb
index 3fe4938f97..2237ee9731 100644
--- a/spec/bundler/cli_spec.rb
+++ b/spec/bundler/cli_spec.rb
@@ -54,6 +54,13 @@ describe "bundle executable" do
expect(out).not_to include("RUBYGEMS_GEMDEPS")
end
end
+
+ context "with --verbose" do
+ it "prints the running command" do
+ bundle! "config", :verbose => true
+ expect(out).to start_with("Running `bundle config --verbose` with bundler #{Bundler::VERSION}")
+ end
+ end
end
describe "bundler executable" do