spec/lib/onename_spec.rb in openname-0.4.9 vs spec/lib/onename_spec.rb in openname-0.4.10

- old
+ new

@@ -10,10 +10,10 @@ it "should allow setting a different endpoint and returning to default" do Openname.endpoint = "https://www.example.com" Openname.endpoint.should == "https://www.example.com" Openname.endpoint = nil - Openname.endpoint.should == "https://openname.nametiles.co/v2/" + Openname.endpoint.should == "https://api.nametiles.co/v1/users" end it "should retrieve openname user" do user = Openname.get("larry") user.is_a?(Openname::User).should == true