spec/weather_services/services_spec.rb in barometer-0.6.1 vs spec/weather_services/services_spec.rb in barometer-0.6.2
- old
+ new
@@ -132,10 +132,10 @@
@service.measure(@query).is_a?(Barometer::Measurement).should be_true
end
it "returns current and future" do
measurement = @service.measure(@query)
- measurement.current.is_a?(Measurement::Current).should be_true
+ measurement.current.is_a?(Measurement::Result).should be_true
measurement.forecast.is_a?(Array).should be_true
end
end
\ No newline at end of file