Browse Source

Update test with new additional error message

pull/2798/head
Manny Dinssa 7 months ago
parent
commit
be8117b510
  1. 2
      spec/models/location_spec.rb

2
spec/models/location_spec.rb

@ -743,7 +743,7 @@ RSpec.describe Location, type: :model do
it "does add an error when the number of units is invalid" do
location.units = nil
location.valid?(:units)
expect(location.errors.count).to eq(1)
expect(location.errors.count).to eq(2)
end
end

Loading…
Cancel
Save