Browse Source

delete unnecessary test

pull/273/head
MadeTech Dushan 3 years ago
parent
commit
4b33f10d0b
  1. 11
      spec/models/case_log_spec.rb

11
spec/models/case_log_spec.rb

@ -1092,17 +1092,6 @@ RSpec.describe CaseLog do
end
end
context "when saving net_income" do
it "infers the income frequency" do
case_log.update!(net_income_known: "Weekly")
expect(case_log.reload.incfreq).to eq("Weekly")
case_log.update!(net_income_known: "Monthly")
expect(case_log.reload.incfreq).to eq("Monthly")
case_log.update!(net_income_known: "Annually")
expect(case_log.reload.incfreq).to eq("Yearly")
end
end
context "when saving rent and charges" do
let!(:case_log) do
described_class.create({

Loading…
Cancel
Save