spec/lib/state_spec.rb in geolookup-0.5.6 vs spec/lib/state_spec.rb in geolookup-0.5.7
- old
+ new
@@ -125,6 +125,12 @@
it "should return nil if state code doesn't match" do
expect(Geolookup::USA::State.code_to_lat_long("asdf")).to be_nil
end
end
+
+ 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
end