Add specs for Microformats2::AbsoluteUri

This commit is contained in:
Jessica Lynn Suttles 2014-03-10 12:26:24 -07:00
parent d8545d9930
commit cb918e2dd1
2 changed files with 74 additions and 1 deletions

View file

@ -19,7 +19,7 @@ module Microformats2
uri.normalize!
uri.to_s
rescue URI::InvalidURIError => e
rescue URI::BadURIError, URI::InvalidURIError => e
relative.to_s
end
end