spec/lib/state_spec.rb in geolookup-0.5.7 vs spec/lib/state_spec.rb in geolookup-0.5.8

- old
+ new

@@ -131,6 +131,16 @@ describe "#domestic_abbreviations" do it "should return an array of X states" do expect(Geolookup::USA::State.domestic_abbreviations.length).to eql(51) end end + + describe "#domestic_names" do + it "should return array of X states" do + expect(Geolookup::USA::State.domestic_names.length).to eql(51) + end + + it "should not return Guam" do + expect(Geolookup::USA::State.domestic_names).to_not include("Guam") + end + end end