spec/lib/state_spec.rb in geolookup-0.5.5 vs spec/lib/state_spec.rb in geolookup-0.5.6

- old
+ new

@@ -10,10 +10,10 @@ end end describe "#name_to_abbreviation" do it "should return name to state abbreviation" do - expect(Geolookup::USA::State.name_to_abbreviation('CA')).to eql("California") + expect(Geolookup::USA::State.name_to_abbreviation('California')).to eql("CA") end it "should return nil if no state abbreviation" do expect(Geolookup::USA::State.name_to_abbreviation('asdf')).to be_nil end