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

Version Path
hobo-inviqa-0.0.14 spec/hobo/helpers/shell_spec.rb
hobo-inviqa-0.0.13 spec/hobo/helpers/shell_spec.rb
hobo-inviqa-0.0.11 spec/hobo/helpers/shell_spec.rb
hobo-inviqa-0.0.10 spec/hobo/helpers/shell_spec.rb
hobo-inviqa-0.0.10.pre.rc11 spec/hobo/helpers/shell_spec.rb
hobo-inviqa-0.0.10.pre.rc10 spec/hobo/helpers/shell_spec.rb
hobo-inviqa-0.0.10.pre.rc9 spec/hobo/helpers/shell_spec.rb
hobo-inviqa-0.0.10.pre.rc8 spec/hobo/helpers/shell_spec.rb
hobo-inviqa-0.0.10.pre.rc7 spec/hobo/helpers/shell_spec.rb
hobo-inviqa-0.0.10.pre.rc6 spec/hobo/helpers/shell_spec.rb
hobo-inviqa-0.0.10.pre.rc4 spec/hobo/helpers/shell_spec.rb
hobo-inviqa-0.0.10.pre.rc2 spec/hobo/helpers/shell_spec.rb
hobo-inviqa-0.0.9 spec/hobo/helpers/shell_spec.rb
hobo-inviqa-0.0.9.pre.rc2 spec/hobo/helpers/shell_spec.rb
hobo-inviqa-0.0.9.pre.rc1 spec/hobo/helpers/shell_spec.rb
hobo-inviqa-0.0.9.pre.alpha spec/hobo/helpers/shell_spec.rb
hobo-inviqa-0.0.8 spec/hobo/helpers/shell_spec.rb
hobo-inviqa-0.0.7.pre.rc3 spec/hobo/helpers/shell_spec.rb
hobo-inviqa-0.0.7.pre.rc2 spec/hobo/helpers/shell_spec.rb
hobo-inviqa-0.0.7.pre.rc1 spec/hobo/helpers/shell_spec.rb