'Make sure the tagged feed is discoverable on the questions page.'

def test_tagged_feed_link(self):

    TagFactory(name='green', slug='green')
    url = urlparams(reverse('questions.list', args=['all']), tagged='green')
    response = self.client.get(url)
    eq_(200, response.status_code)
    doc = pq(response.content)
    feed_links = doc('link[type="application/atom+xml"]')
    eq_(2, len(feed_links))
    eq_('Recently    updated    questions', feed_links[0].attrib['title'])
    eq_('/en-US/questions/feed?product=all', feed_links[0].attrib['href'])
    eq_('Recently    updated    questions    tagged    green', feed_links[1].attrib['title'])
    eq_('/en-US/questions/tagged/green/feed', feed_links[1].attrib['href'])
