Browse Source

call service correctly in test

remotes/origin/bulk-upload-errors-integration
Phil Lee 4 years ago
parent
commit
4351729477
  1. 3
      spec/services/bulk_upload/lettings_validator_spec.rb

3
spec/services/bulk_upload/lettings_validator_spec.rb

@ -1,8 +1,9 @@
require "rails_helper"
RSpec.describe BulkUpload::LettingsValidator do
subject(:validator) { described_class.new(path:) }
subject(:validator) { described_class.new(bulk_upload:, path:) }
let(:bulk_upload) { create(:bulk_upload) }
let(:path) { file.path }
let(:file) { Tempfile.new }

Loading…
Cancel
Save