Sha256: aa39827056720f06d2ba4992a2c7550670f0d8d2cf35d7d35941f0160ed033b2

Contents?: true

Size: 254 Bytes

Versions: 7

Compression:

Stored size: 254 Bytes

Contents

# frozen_string_literal: true
require "test_helper"

class UcBrowserTest < Minitest::Test
  test "detects UC Browser" do
    browser = Browser.new(Browser["UC_BROWSER"])
    assert browser.uc_browser?
    assert_equal browser.name, "UCBrowser"
  end
end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
enju_leaf-1.2.1 vendor/bundle/ruby/2.3/gems/browser-2.3.0/test/unit/uc_browser_test.rb
browser-2.3.0 test/unit/uc_browser_test.rb
browser-2.2.0 test/unit/uc_browser_test.rb
browser-2.1.0 test/unit/uc_browser_test.rb
browser-2.0.3 test/unit/uc_browser_test.rb
browser-2.0.2 test/unit/uc_browser_test.rb
browser-2.0.1 test/unit/uc_browser_test.rb