Browse Source

fixup! CLDC-4325: Fix sales soft validations

pull/3250/head
samyou-softwire 1 week ago
parent
commit
0e378b20a0
  1. 2
      spec/models/validations/sales/soft_validations_spec.rb

2
spec/models/validations/sales/soft_validations_spec.rb

@ -423,7 +423,7 @@ RSpec.describe Validations::Sales::SoftValidations do
end end
context "when validating extra borrowing" do context "when validating extra borrowing" do
let(:saledate) { collection_start_date_for_year_or_later(2025) } let(:saledate) { collection_start_date_for_year_or_later(2024) }
it "returns false for logs from 2024 onwards" do it "returns false for logs from 2024 onwards" do
record.extrabor = 2 record.extrabor = 2

Loading…
Cancel
Save