Sha256: fe4b29240596c79c6899ef9e6d4cf72c284562f1c501078d2552d8a334d4cb0f
Contents?: true
Size: 537 Bytes
Versions: 4
Compression:
Stored size: 537 Bytes
Contents
require File.expand_path(File.join(File.dirname(__FILE__), '..', '..', 'spec_helper')) describe Evri::RPX::Contact do before(:all) do @contact = Evri::RPX::Contact.new(json_fixture('contacts/bob_johnson.json')) end describe "display_name" do it "should be the correct display name in the response" do @contact.display_name.should == 'Bob Johnson' end end describe "emails" do it "should return a list of emails for a given user" do @contact.emails.should == ['bob@example.com'] end end end
Version data entries
4 entries across 4 versions & 2 rubygems