Sha256: eb7b13ef278b2349761cc2caa4ff35f0e4cdf99029878d4864fc7a27bfcf7664
Contents?: true
Size: 558 Bytes
Versions: 13
Compression:
Stored size: 558 Bytes
Contents
describe Ppl::Entity::EmailAddress do before(:each) do @email_address = Ppl::Entity::EmailAddress.new end describe "#address" do it "should return a value" do @email_address.address.should eq nil end end describe "#preferred" do it "should be false by default" do @email_address.preferred.should eq false end end describe "#initialize" do it "should accept an address" do email = Ppl::Entity::EmailAddress.new("bob@example.org") email.address.should eq "bob@example.org" end end end
Version data entries
13 entries across 13 versions & 1 rubygems