Skip to content

Commit

Permalink
Update test
Browse files Browse the repository at this point in the history
  • Loading branch information
Dinssa committed Nov 26, 2024
1 parent d3077ae commit 91dd298
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/models/location_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -750,7 +750,7 @@
it "adds an error when units is 0" do
location.units = 0
location.valid?(:units)
expect(location.errors.count).to eq(2)
expect(location.errors.count).to eq(1)
end
end

Expand Down

0 comments on commit 91dd298

Please sign in to comment.