Sha256: f069e4462830222b12c35c0faf414051adb61dd9189b186258bd34e98e92e128
Contents?: true
Size: 531 Bytes
Versions: 19
Compression:
Stored size: 531 Bytes
Contents
describe Ppl::Format::Contact::Organization do before(:each) do @format = Ppl::Format::Contact::Organization.new @contact = Ppl::Entity::Contact.new end describe "#process" do it "should return an empty string if the contact lacks an organization" do @format.process(Ppl::Entity::Contact.new).should eq "" end it "should return the contact's organization if it is set" do @contact.organization = "Example Ltd" @format.process(@contact).should eq "Example Ltd" end end end
Version data entries
19 entries across 19 versions & 1 rubygems