|
|
|
@ -30,7 +30,7 @@ RSpec.describe BulkUpload::Processor do |
|
|
|
let(:file) { Tempfile.new } |
|
|
|
let(:file) { Tempfile.new } |
|
|
|
let(:path) { file.path } |
|
|
|
let(:path) { file.path } |
|
|
|
|
|
|
|
|
|
|
|
let(:log) { build(:lettings_log, :completed, assigned_to: user)} |
|
|
|
let(:log) { build(:lettings_log, :completed, assigned_to: user) } |
|
|
|
|
|
|
|
|
|
|
|
before do |
|
|
|
before do |
|
|
|
allow(BulkUpload::Lettings::Validator).to receive(:new).and_return(mock_validator) |
|
|
|
allow(BulkUpload::Lettings::Validator).to receive(:new).and_return(mock_validator) |
|
|
|
|