Sha256: 964d16c1ec67cdf360c3733db141f023b858b761d4f51b48728b08633264f379

Contents?: true

Size: 854 Bytes

Versions: 2

Compression:

Stored size: 854 Bytes

Contents

require 'hobo/helper/shell'

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

2 entries across 2 versions & 1 rubygems

Version Path
hobo-inviqa-0.0.7 spec/hobo/helpers/shell_spec.rb
hobo-inviqa-0.0.6 spec/hobo/helpers/shell_spec.rb