diff --git a/test/models/parser/tiktok_item_test.rb b/test/models/parser/tiktok_item_test.rb index 55045c47..a8373c3b 100644 --- a/test/models/parser/tiktok_item_test.rb +++ b/test/models/parser/tiktok_item_test.rb @@ -56,6 +56,9 @@ def doc match_one = Parser::TiktokItem.match?('https://www.tiktok.com/@fakeaccount/video/abcdef?a=1') assert_equal true, match_one.is_a?(Parser::TiktokItem) + + match_one = Parser::TiktokItem.match?('https://www.tiktok.com/tag/randomtag') + assert_equal true, match_one.is_a?(Parser::TiktokItem) end test "should set profile defaults upon error" do