Refactor specs

This commit is contained in:
Thibault Jouan
2014-09-27 12:20:24 +00:00
parent 52e8338a7d
commit 52dcfcedd3
17 changed files with 21 additions and 21 deletions

View File

@@ -5,7 +5,7 @@ module Producer::Core
describe FS do
let(:sftp_file) { double 'sftp_file' }
let(:sftp) { double('sftp', file: sftp_file) }
subject(:fs) { FS.new(sftp) }
subject(:fs) { described_class.new(sftp) }
describe '#initialize' do
it 'assigns the sftp session' do