'Ensure that titles are being applied properly to feeds.'

def test_multi_feed_titling(self):

    d = DocumentFactory()
    response = get(self.client, 'wiki.discuss.threads', args=[d.slug])
    doc = pq(response.content)
    given_ = doc('link[type="application/atom+xml"]')[0].attrib['title']
    exp_ = ThreadsFeed().title(d)
    eq_(exp_, given_)
