./test/hcard_test.rb in mofo-0.2.8 vs ./test/hcard_test.rb in mofo-0.2.9
- old
+ new
@@ -100,9 +100,13 @@
$bob.n.given_name.should.equal 'Robert'
$bob.n.additional_name.should.equal 'Albert'
$bob.n.family_name.should.equal 'Smith'
end
+ specify "should have a valid postal code" do
+ $bob.adr.postal_code.should.equal '01234'
+ end
+
specify "should have a valid url" do
$bob.url.should.equal "http://nubhub.com/bob"
end
end