Fix Remote::FS#file_write spec:
* Fix file double name; * Remove uneeded .as_null_object calls on doubles.
This commit is contained in:
parent
65ceb9e741
commit
39b3796aa0
@ -125,8 +125,8 @@ module Producer::Core
|
||||
end
|
||||
|
||||
describe '#file_write' do
|
||||
let(:sftp) { double('sftp').as_null_object }
|
||||
let(:file) { double('sftp').as_null_object }
|
||||
let(:sftp) { double 'sftp' }
|
||||
let(:file) { double 'file' }
|
||||
let(:path) { 'some_file_path' }
|
||||
let(:content) { 'some_content' }
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user