Sha256: 38b7d63a89b41ad54dc686d3134d4799163a0ecda9ec8ea167a2e132bb0e1bce
Contents?: true
Size: 472 Bytes
Versions: 4
Compression:
Stored size: 472 Bytes
Contents
#!/usr/bin/env ruby # -*- coding: utf-8 -*- require File.expand_path 'test_helper', File.dirname(__FILE__) class TestWeatherReport < MiniTest::Unit::TestCase def test_get assert_respond_to WeatherReport, :get assert_instance_of WeatherReport::Weather, WeatherReport.get("横浜") end def test_cities cities = WeatherReport.cities assert_instance_of Array, cities assert cities.include? "東京" assert cities.include? "横浜" end end
Version data entries
4 entries across 4 versions & 1 rubygems