Sha256: ee834df40d2e8c2fb31bf88194264b388041ac8f2d4dc27bce086a8c8b491841
Contents?: true
Size: 849 Bytes
Versions: 20
Compression:
Stored size: 849 Bytes
Contents
require 'spec_helper' describe Hobo::Helper do describe "bundle_shell" do it "should execute command with bundle exec if bundle present" it "should execte command normally if no bundle present" end describe "shell" do it "should run the specified external command" it "should return captured output if :capture specified" it "should display output if :realtime specified" it "should indent output if :realtime and :indent specified" it "should apply block to each line if block passed" it "should not display lines for which the filter block returned nil" it "should buffer all command output in a temporary file" it "should throw Hobo::ExternalCommandError on non-zero exit code" it "should colour stderr output with red" it "should set ENV args for command if specified with :env" end end
Version data entries
20 entries across 20 versions & 1 rubygems