test/country_test.rb in uncharted-0.0.5 vs test/country_test.rb in uncharted-0.0.6

- old
+ new

@@ -17,9 +17,14 @@ end def test_to_s assert_equal 'BR', @br.to_s end + + def test_country_count + assert_equal 247, Country.count + assert_equal 27, Country.subdivisions.values.count + end def test_territories assert_equal 1, @br.districts.count assert_equal 26, @br.states.count assert @br.territories.empty?