test/test_weather.rb in weather-report-0.3.6 vs test/test_weather.rb in weather-report-0.3.7
- old
+ new
@@ -45,10 +45,10 @@
def test_request_cityid
assert_respond_to Weather, :request_cityid
assert_equal "130010", Weather.request_cityid("東京")
assert_equal "140010", Weather.request_cityid("横浜")
- assert_raises(WeatherReportError) do
+ assert_raises(ArgumentError) do
Weather.request_cityid(nil)
end
end
def test_to_h