test/tc_shorturl.rb in shorturl-0.4.0 vs test/tc_shorturl.rb in shorturl-0.5.0
- old
+ new
@@ -24,9 +24,11 @@
assert ShortURL.shorten(@url, :makeashorterlink) == "http://makeashorterlink.com/?O1752235A"
assert ShortURL.shorten(@url, :skinnylink) == "http://skinnylink.com?nqvcce"
assert ShortURL.shorten(@url, :linktrim) =~ /http:\/\/linktrim/ # Never the same URL
assert ShortURL.shorten(@url, :shorterlink) == "http://shorterlink.com/?PQD096"
assert ShortURL.shorten(@url, :minilink) == "http://lnk.nu/darkhost.mine.nu:81/2zr.html"
+ assert ShortURL.shorten(@url, :lns) == "http://ln-s.net/5UL"
+ assert ShortURL.shorten(@url, :fyad) == "http://fyad.org/15zu"
assert_raise(InvalidService) { ShortURL.shorten(@url, :foobar) }
end
end