Sha256: be48efed4a808f58508c8bfca2c2a935a1b11f4f96ec0416a40113b6e0c925b4

Contents?: true

Size: 510 Bytes

Versions: 21

Compression:

Stored size: 510 Bytes

Contents

# frozen_string_literal: true

require "test_helper"

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

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

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

    refute browser.compatibility_view?
  end

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

    refute browser.safari_webapp_mode?
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
browser-5.3.1 test/unit/generic_test.rb
browser-5.3.0 test/unit/generic_test.rb
browser-5.2.0 test/unit/generic_test.rb
browser-5.1.0 test/unit/generic_test.rb
browser-5.0.0 test/unit/generic_test.rb
browser-4.2.0 test/unit/generic_test.rb
browser-4.1.0 test/unit/generic_test.rb
browser-4.0.0 test/unit/generic_test.rb
browser-3.0.3 test/unit/generic_test.rb
browser-3.0.2 test/unit/generic_test.rb
browser-3.0.1 test/unit/generic_test.rb
browser-3.0.0 test/unit/generic_test.rb
browser-2.7.1 test/unit/generic_test.rb
browser-2.7.0 test/unit/generic_test.rb
browser-2.6.1 test/unit/generic_test.rb
browser-2.6.0 test/unit/generic_test.rb
browser-2.5.3 test/unit/generic_test.rb
browser-2.5.2 test/unit/generic_test.rb
browser-2.5.1 test/unit/generic_test.rb
browser-2.5.0 test/unit/generic_test.rb