# File lib/email_spec/helpers.rb, line 87
    def links_in_email(email)
      links = URI::Parser.new.extract(email.default_part_body.to_s, ['http', 'https'])
      links.map{|url| HTMLEntities.new.decode(url) }.uniq
    end