Sha256: c3a86830532a1bc5f8e11036731f5c2df32660dedddcd60d6ddadd46998268a3

Contents?: true

Size: 479 Bytes

Versions: 2

Compression:

Stored size: 479 Bytes

Contents

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

2 entries across 2 versions & 1 rubygems

Version Path
browser-2.2.0 test/unit/generic_test.rb
browser-2.1.0 test/unit/generic_test.rb