twitter: include intent url in new artist entries (#4028).

This commit is contained in:
evazion
2018-12-27 15:03:11 -06:00
parent 2129e60b2b
commit 0f513d1a1b
2 changed files with 18 additions and 2 deletions

View File

@@ -111,10 +111,15 @@ module Sources
@site = Sources::Strategies.find("https://mobile.twitter.com/nounproject/status/540944400767922176")
end
should "get the profile" do
should "get the main profile url" do
assert_equal("https://twitter.com/nounproject", @site.profile_url)
end
should "get the profile urls" do
assert_includes(@site.profile_urls, "https://twitter.com/nounproject")
assert_includes(@site.profile_urls, "https://twitter.com/intent/user?user_id=88996186")
end
should "get the artist name" do
assert_equal("nounproject", @site.artist_name)
end