summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZack Hobson2013-12-27 12:40:43 -0800
committerZack Hobson2013-12-27 12:40:43 -0800
commit89867bd84610d6d5622540a7e26b6c3467d632bf (patch)
treebd124f2f7ef02488218bf13f82af93b08dbdfaa5
parent0b26d1a2a60bad49faebfad3c2dade42a3568ee4 (diff)
downloadhcl-89867bd84610d6d5622540a7e26b6c3467d632bf.tar.bz2
capture_output: remove verbose flag
-rw-r--r--README.markdown4
-rw-r--r--test/ext/capture_output.rb2
2 files changed, 2 insertions, 4 deletions
diff --git a/README.markdown b/README.markdown
index 6c185aa..4b05856 100644
--- a/README.markdown
+++ b/README.markdown
@@ -148,9 +148,9 @@ It's also possible to issue HCl commands directly (as Ruby methods), or
to query specific JSON end points and have the results pretty-printed:
hcl console
- bin/hcl> show "yesterday"
+ hcl> show "yesterday"
# => prints yesterday's timesheet, note the quotes!
- bin/hcl> Net.get('daily')
+ hcl> Net.get('daily')
# => displays a pretty-printed version of the JSON output
Note that unlike the commands themselves, the HCl internals may change without
diff --git a/test/ext/capture_output.rb b/test/ext/capture_output.rb
index bbf5424..00a39b0 100644
--- a/test/ext/capture_output.rb
+++ b/test/ext/capture_output.rb
@@ -3,13 +3,11 @@ module CaptureOutput
super
@stderr = StringIO.new
@stdout = StringIO.new
- return if ENV['VERBOSE']
$stderr = @stderr
$stdout = @stdout
end
def after_teardown
super
- return if ENV['VERBOSE']
$stderr = STDERR
$stdout = STDOUT
end