Add park <-> alert relations

This commit is contained in:
2025-10-08 00:22:11 -07:00
parent 8937ca9fc9
commit 4c3ddc6175
3 changed files with 9 additions and 1 deletions

View File

@@ -1,5 +1,9 @@
require 'rails_helper'
RSpec.describe Alert, type: :model do
pending "add some examples to (or delete) #{__FILE__}"
describe "#park" do
it "has a park" do
expect(alerts(:one).park).to eq(parks(:one))
end
end
end