require File.expand_path('../test_helper', __FILE__) describe HalfShell::Result do describe '.to_s' do it 'should include command, status, stdout, and stderr' do HalfShell::Result.new('ls', 0, 'stdout', 'stderr').to_s.must_equal \ '#' end end end