Fix Remote::FS#file_write spec:
* Fix file double name; * Remove uneeded .as_null_object calls on doubles.
This commit is contained in:
1 parent
65ceb9e741
commit
39b3796aa0
1 file changed
+2
-2
@@ -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' }
|
||||
|
||||
|
||||
Reference in new issue
Block a user