spec/lib/state_spec.rb in geolookup-0.5.3 vs spec/lib/state_spec.rb in geolookup-0.5.4

- old
+ new

@@ -1,8 +1,7 @@ describe "Geolookup::USA::State" do - let :state_lat_long do Geolookup::USA::State::STATE_LAT_LONG[1] end - + let :state_lat_long do Geolookup::USA::State.name_to_lat_long("Alabama") end describe "#code_to_name" do it "should return a state name if state code matches" do expect(Geolookup::USA::State.code_to_name(1)).to eql("Alabama") end @@ -126,6 +125,6 @@ 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 -end \ No newline at end of file +end