Browse Source

refactor: remove redundant context

pull/1034/head
natdeanlewissoftwire 4 years ago
parent
commit
3593eb04cd
  1. 2
      spec/models/location_spec.rb

2
spec/models/location_spec.rb

@ -57,7 +57,7 @@ RSpec.describe Location, type: :model do
it "does not add an error when the name is invalid" do
location.name = nil
location.valid?(:name)
location.valid?
expect(location.errors.count).to eq(0)
end
end

Loading…
Cancel
Save