FIX: Support links with google analytics tracking and hashes

This commit is contained in:
Robin Ward
2016-08-23 12:08:37 -04:00
parent e06be6561d
commit 1468616465
4 changed files with 38 additions and 2 deletions

View File

@ -304,7 +304,7 @@ http://b.com/#{'a'*500}
expect(counts_for[post.id].first[:clicks]).to eq(1)
array = TopicLink.topic_map(Guardian.new, post.topic_id)
expect(array.length).to eq(5)
expect(array.length).to eq(6)
expect(array[0]["clicks"]).to eq("1")
end