spec/noaa_alerts_spec.rb in noaa-alerts-0.0.1 vs spec/noaa_alerts_spec.rb in noaa-alerts-0.0.2
- old
+ new
@@ -20,8 +20,11 @@
describe Noaa::Alert do
subject { Noaa::Client.new("ak").alerts.first }
its(:description) { should_not be_nil }
its(:locations) { should_not be_empty }
+ its(:identifier) { should_not be_empty }
+ its(:effective_at) { should be_an_instance_of Time }
+ its(:expires_at) { should be_an_instance_of Time }
end
end
end