Update rspec to last version

This commit is contained in:
Thibault Jouan
2014-09-16 21:15:25 +00:00
parent d11ae6c2d5
commit 3cb195c9a0
3 changed files with 3 additions and 4 deletions

View File

@@ -71,7 +71,8 @@ module Producer::Core
let(:sftp_session) { double 'sftp session' }
it 'returns an FS instance built with a new sftp session' do
remote.stub_chain(:session, :sftp, :connect) { sftp_session }
allow(remote)
.to receive_message_chain(:session, :sftp, :connect) { sftp_session }
expect(remote.fs.sftp).to be sftp_session
end
end