Sha256: 8936a475ee597a5e1ffab5e2435d2b939d96912549ac379c3055b6f7a2bedb05
Contents?: true
Size: 304 Bytes
Versions: 1
Compression:
Stored size: 304 Bytes
Contents
require "test_helper" class ProxyTest < Minitest::Test %w[ NOKIA OPERA_MINI UC_BROWSER ].each do |name| ua = $ua[name] test "detect #{ua} as proxy" do browser = Browser.new(ua: ua) assert browser.proxy? assert browser.meta.include?("proxy") end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
browser-1.1.0 | test/unit/proxy_test.rb |