Sha256: 43baa35f061c373edc64bebf01b7fe1e9970fa125012185ae5f2230f5e262fca
Contents?: true
Size: 403 Bytes
Versions: 5
Compression:
Stored size: 403 Bytes
Contents
require 'spec_helper' describe Cocaine::CommandLine::Output do it 'holds an input and error stream' do output = Cocaine::CommandLine::Output.new(:a, :b) expect(output.output).to eq :a expect(output.error_output).to eq :b end it 'calls #to_s on the output when you call #to_s on it' do output = Cocaine::CommandLine::Output.new(:a, :b) expect(output.to_s).to eq 'a' end end
Version data entries
5 entries across 5 versions & 3 rubygems