4 changed files with 5 additions and 5 deletions
@ -1,6 +1,6 @@
|
||||
require "csv" |
||||
|
||||
class BulkUpload::LettingsValidator |
||||
class BulkUpload::Lettings::Validator |
||||
include ActiveModel::Validations |
||||
|
||||
QUESTIONS = { |
||||
@ -1,4 +1,4 @@
|
||||
class BulkUpload::SalesValidator |
||||
class BulkUpload::Sales::Validator |
||||
QUESTIONS = { |
||||
field_1: "What is the purchaser code?", |
||||
field_2: "What is the day of the sale completion date? - DD", |
||||
@ -1,6 +1,6 @@
|
||||
require "rails_helper" |
||||
|
||||
RSpec.describe BulkUpload::LettingsValidator do |
||||
RSpec.describe BulkUpload::Lettings::Validator do |
||||
subject(:validator) { described_class.new(bulk_upload:, path:) } |
||||
|
||||
let(:bulk_upload) { create(:bulk_upload) } |
||||
Loading…
Reference in new issue