Browse Source

Fix linting

pull/2509/head
Rachael Booth 2 years ago
parent
commit
884f547b16
  1. 6
      spec/services/bulk_upload/processor_spec.rb

6
spec/services/bulk_upload/processor_spec.rb

@ -24,13 +24,13 @@ RSpec.describe BulkUpload::Processor do
call: nil, call: nil,
path:, path:,
delete_local_file!: nil, delete_local_file!: nil,
) )
end end
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)
@ -233,7 +233,7 @@ RSpec.describe BulkUpload::Processor do
total_logs_count: 1, total_logs_count: 1,
any_setup_errors?: false, any_setup_errors?: false,
create_logs?: false, create_logs?: false,
) )
end end
it "sends correct_and_upload_again_mail" do it "sends correct_and_upload_again_mail" do

Loading…
Cancel
Save