Skip to content

Instantly share code, notes, and snippets.

@johnivanoff
Created December 9, 2012 21:25
Show Gist options
  • Select an option

  • Save johnivanoff/4247089 to your computer and use it in GitHub Desktop.

Select an option

Save johnivanoff/4247089 to your computer and use it in GitHub Desktop.
def test_find_the_link
feed = File.read('fixtures/feed.xml')
items = parse feed
item = items.first
link = 'http://www.flickr.com/photos/mattcaustin/8205498382/in/pool-1373979@N22'
assert_equal item[:link], link
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment