Remote extra record separator from `sh' task action

This commit is contained in:
Thibault Jouan
2014-03-05 06:40:18 +00:00
parent 347e6f80c7
commit bf25b05adb
5 changed files with 6 additions and 7 deletions

View File

@@ -20,8 +20,8 @@ module Producer::Core
context 'dummy echo command' do
let(:command) { 'echo some arguments' }
it 'returns command arguments' do
expect(remote.execute(command)).to eq 'some arguments'
it 'returns command arguments ended by a record separator' do
expect(remote.execute(command)).to eq "some arguments\n"
end
end