Browse Source

Formatting

pull/2136/head
Rachael Booth 2 years ago
parent
commit
77fccaeea7
  1. 2
      spec/models/validations/financial_validations_spec.rb

2
spec/models/validations/financial_validations_spec.rb

@ -289,7 +289,7 @@ RSpec.describe Validations::FinancialValidations do
expect(record.errors["ecstat#{n}"]) expect(record.errors["ecstat#{n}"])
.to eq(["The household’s income of £50.00 weekly is too low given the household’s working situation"]) .to eq(["The household’s income of £50.00 weekly is too low given the household’s working situation"])
end end
((record.hhmemb+1)..8).each do |n| (record.hhmemb + 1..8).each do |n|
expect(record.errors["ecstat#{n}"]).to be_empty expect(record.errors["ecstat#{n}"]).to be_empty
end end
end end

Loading…
Cancel
Save