|
|
|
|
@ -320,7 +320,6 @@ RSpec.describe Validations::Sales::FinancialValidations do
|
|
|
|
|
end |
|
|
|
|
|
|
|
|
|
context "when buyer 2 is a child" do |
|
|
|
|
context "and saledate is current" do |
|
|
|
|
let(:record) { build(:sales_log, :saledate_today, ecstat2: 9) } |
|
|
|
|
|
|
|
|
|
it "does not add an error if buyer 2 has no income" do |
|
|
|
|
@ -337,7 +336,6 @@ RSpec.describe Validations::Sales::FinancialValidations do
|
|
|
|
|
end |
|
|
|
|
end |
|
|
|
|
end |
|
|
|
|
end |
|
|
|
|
|
|
|
|
|
describe "#validate_equity_in_range_for_year_and_type" do |
|
|
|
|
let(:record) { FactoryBot.build(:sales_log, saledate:) } |
|
|
|
|
|