Sha256: f5665171ee3efad075ac2a2d9800b3e4540e3329c7b6f727409b247fa4bbf44f

Contents?: true

Size: 993 Bytes

Versions: 1

Compression:

Stored size: 993 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"
    it "should strip leading and trailing whitespace in captured output"
    it "should preserve whitespace in captured output if :strip false"
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
hobo-inviqa-0.0.15 spec/hobo/helpers/shell_spec.rb