spec/lib/authorities/geonames_spec.rb in qa-1.0.0 vs spec/lib/authorities/geonames_spec.rb in qa-1.1.0

- old
+ new

@@ -26,12 +26,12 @@ subject { authority.search('whatever') } context "with default label" do it "has id and label keys" do - expect(subject.first).to eq("id" => 'http://sws.geonames.org/2088122', + expect(subject.first).to eq("id" => 'http://sws.geonames.org/2088122/', "label" => "Port Moresby, National Capital, Papua New Guinea") - expect(subject.last).to eq("id" => 'http://sws.geonames.org/377039', + expect(subject.last).to eq("id" => 'http://sws.geonames.org/377039/', "label" => "Port Sudan, Red Sea, Sudan") expect(subject.size).to eq(10) end end