spec/twitter/place_spec.rb in twitter-5.0.1 vs spec/twitter/place_spec.rb in twitter-5.1.0

- old
+ new

@@ -106,10 +106,10 @@ end describe "#uri" do it "returns a URI when the url is set" do place = Twitter::Place.new(:woeid => "247f43d441defc03", :url => "https://api.twitter.com/1.1/geo/id/247f43d441defc03.json") - expect(place.uri).to be_a URI + expect(place.uri).to be_a Addressable::URI expect(place.uri.to_s).to eq("https://api.twitter.com/1.1/geo/id/247f43d441defc03.json") end it "returns nil when the url is not set" do place = Twitter::Place.new(:woeid => "247f43d441defc03") expect(place.uri).to be_nil