Browse Source

call service correctly in test

pull/1091/head
Phil Lee 4 years ago
parent
commit
62b65b2165
  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