test/country_test.rb in uncharted-0.0.12 vs test/country_test.rb in uncharted-0.0.13
- old
+ new
@@ -25,9 +25,10 @@
assert_equal 'BR', @br.to_s
end
def test_territories
df = Territory.find('BR-DF')
+ refute_nil df
assert_equal @br, df.country
assert_equal [df], @br.districts
assert_equal 26, @br.states.count
assert_equal 27, @br.subdivisions.count
assert @br.territories.empty?