Sha256: 4e1b9bf26f5a4f2336842a62a1d84fb6eb9038abc05d4f00e14e0eff05ca1187

Contents?: true

Size: 366 Bytes

Versions: 1

Compression:

Stored size: 366 Bytes

Contents

require "test_helper"

class AdobeAirTest < Minitest::Test
  setup do
    @browser = Browser.new
  end

  test "detects adobe air" do
    @browser.ua = $ua["ADOBE_AIR"]

    assert @browser.adobe_air?
    assert @browser.webkit?
    assert_equal @browser.version, "13"
    assert_equal @browser.full_version, "13.0"
    assert_equal @browser.name, "Other"
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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