Sha256: 11cb84f5b59fab28c1312ac90ae38bb2882e88c3966bbde04b167251112da1ef
Contents?: true
Size: 462 Bytes
Versions: 4
Compression:
Stored size: 462 Bytes
Contents
require 'test_helper' module RefererParser class ParserTest < Workarea::TestCase def test_parse_android_app_referrers referrers = [ 'android-app://com.linkedin.android', 'android-app://org.telegram.plus', 'android-app://com.twitter.android' ] referrers.each do |uri| referrer = Parser.new.parse(uri) refute(referrer[:known]) assert_equal(uri, referrer[:uri]) end end end end
Version data entries
4 entries across 4 versions & 1 rubygems