Sha256: 6d04a8f0e9a1b67ad2e964d807e1d580c9557fec81e08cf56a5816e9b57ce3d9

Contents?: true

Size: 700 Bytes

Versions: 2

Compression:

Stored size: 700 Bytes

Contents

describe Ppl::Entity::Contact do

  before(:each) do
    @contact = Ppl::Entity::Contact.new
  end

  describe "#id" do
    it "should return a value" do
      @contact.id.should be nil
    end
  end

  describe "#id=" do
    it "should accept a value" do
      @contact.id = "john"
      @contact.id.should eq "john"
    end
  end

  describe "#email_address" do
    it "should return a value" do
      @contact.email_address.should eq nil
    end
  end

  describe "#birthday" do
    it "should return a value" do
      @contact.birthday.should eq nil
    end
  end

  describe "#postal_address" do
    it "should return a value" do
      @contact.postal_address.should eq nil
    end
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ppl-1.3.0 spec/ppl/entity/contact_spec.rb
ppl-1.2.0 spec/ppl/entity/contact_spec.rb