spec/alert_spec.rb in gull-0.2.4 vs spec/alert_spec.rb in gull-0.2.5
- old
+ new
@@ -26,9 +26,12 @@
expect(first.area).to eq "Southern Salinas Valley, Arroyo Seco and Lake San Antonio"
expect(first.urgency).to eq :expected
expect(first.severity).to eq :minor
expect(first.certainty).to eq :very_likely
+ expect(first.geocode.fips6).to eq "006001 006013 006041 006053 006055 006069 006075 006081 006085 006087 006097"
+ expect(first.geocode.ugc).to eq "CAZ006 CAZ505 CAZ506 CAZ507 CAZ508 CAZ509 CAZ510 CAZ511 CAZ512"
+
second = alerts[1]
expect(second.polygon).to be_nil
end
end
\ No newline at end of file