spec/ppl/format/contact/phone_number_spec.rb in ppl-1.9.0 vs spec/ppl/format/contact/phone_number_spec.rb in ppl-1.10.0
- old
+ new
@@ -11,10 +11,10 @@
it "should return an empty string if the contact lacks a phone number" do
@format.process(Ppl::Entity::Contact.new).should eq ""
end
it "should return the contact's phone number if it is set" do
- @contact.phone_number = "0123456789"
+ @contact.phone_numbers.push("0123456789")
@format.process(@contact).should eq "0123456789"
end
end