Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Actually test the example in the README.

  • Loading branch information...
commit b1aa987514d1116b828e070392452ea0b2aa9021 1 parent 09db32c
Ryan Lovelett authored
Showing with 5 additions and 2 deletions.
  1. +5 −2 test/test_imasquerade.rb
7 test/test_imasquerade.rb
View
@@ -1,7 +1,10 @@
require 'helper'
class TestImasquerade < Test::Unit::TestCase
- should "probably rename this file and start testing for real" do
- flunk "hey buddy, you should probably rename this file and start testing for real"
+ should "perform the example in the README" do
+ uri = "http://itunes.apple.com/us/podcast/the-f-u-sports-talk-podcast/id356478903"
+ proper_response = "http://www.urannonline.com/Collection_Site/The_F_U_Sports_Talk_Podcast/rss.xml"
+ response = Imasquerade::Extractor.parse_itunes_uri uri
+ assert_equal(proper_response, response)
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.