diff options
| author | Samuel Giddins <segiddins@segiddins.me> | 2016-07-19 17:29:40 -0500 |
|---|---|---|
| committer | Samuel Giddins <segiddins@segiddins.me> | 2016-07-19 17:29:40 -0500 |
| commit | 183b9f74f3f9767968cdc1eb2b99fd5c8fb0db78 (patch) | |
| tree | 5780015f63f978a3f5852fd3305f3ff1129e3d76 /spec/other | |
| parent | e12fe9e6c81326f5f5984a343e05ade63f29c1ca (diff) | |
| download | bundler-183b9f74f3f9767968cdc1eb2b99fd5c8fb0db78.tar.gz | |
[CLI] Add specs for printing the running commandseg-print-command
Diffstat (limited to 'spec/other')
| -rw-r--r-- | spec/other/trampoline_spec.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/spec/other/trampoline_spec.rb b/spec/other/trampoline_spec.rb index 2be0c9c3e9..a498e1219e 100644 --- a/spec/other/trampoline_spec.rb +++ b/spec/other/trampoline_spec.rb @@ -150,4 +150,11 @@ You're running Bundler #{Bundler::VERSION} but this project uses #{ENV["BUNDLER_ WARN end end + + context "with --verbose" do + it "prints the running command" do + bundle! "config", :verbose => true, :env => { "BUNDLE_POSTIT_TRAMPOLINING_VERSION" => Bundler::VERSION } + expect(out).to start_with("Running `bundle config --verbose` with bundler #{Bundler::VERSION}") + end + end end |
