Remote extra record separator from `sh' task action
This commit is contained in:
1 parent
347e6f80c7
commit
bf25b05adb
5 files changed
+6
-7
No files matched your search
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user