Sha256: 88dc44d7afd87a674337676865b7944c7899dadd5a7be72724ef636a7bd4c3d4

Contents?: true

Size: 513 Bytes

Versions: 3

Compression:

Stored size: 513 Bytes

Contents

# frozen_string_literal: true

require "test_helper"

class GenericTest < Minitest::Test
  test "returns default msie version" do
    browser = Browser.new("")

    assert_equal "0.0", browser.msie_full_version
    assert_equal "0", browser.msie_version
  end

  test "returns default compatibility view" do
    browser = Browser.new("")

    refute browser.compatibility_view?
  end

  test "returns default safari web app mode" do
    browser = Browser.new("")

    refute browser.safari_webapp_mode?
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
browser-6.2.0 test/unit/generic_test.rb
browser-6.1.0 test/unit/generic_test.rb
browser-6.0.0 test/unit/generic_test.rb