Sha256: 6343e3e4a62a7f46fd8a8692393166618f95795e4c8ae38cd31319b1dc9910f2

Contents?: true

Size: 274 Bytes

Versions: 1

Compression:

Stored size: 274 Bytes

Contents

require "test_helper"

class UcBrowserTest < Minitest::Test
  setup do
    @browser = Browser.new(ua: $ua["UC_BROWSER"])
  end

  test "detects UC Browser" do
    assert @browser.mobile?
    assert @browser.uc_browser?
    assert_equal @browser.name, "UC Browser"
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
browser-1.1.0 test/unit/uc_browser_test.rb