Sha256: bbba4e489c3a6cc766f86b11fdd919501c4553d51a8cd7498327472be44919df
Contents?: true
Size: 638 Bytes
Versions: 9
Compression:
Stored size: 638 Bytes
Contents
# frozen_string_literal: true require "test_helper" class KindleTest < Minitest::Test test "detects kindle monochrome" do browser = Browser.new(Browser["KINDLE"]) assert browser.webkit? end test "detects kindle fire" do browser = Browser.new(Browser["KINDLE_FIRE"]) assert browser.webkit? end test "detects kindle fire hd" do browser = Browser.new(Browser["KINDLE_FIRE_HD"]) assert browser.webkit? assert browser.modern? end test "detects kindle fire hd mobile" do browser = Browser.new(Browser["KINDLE_FIRE_HD_MOBILE"]) assert browser.webkit? assert browser.modern? end end
Version data entries
9 entries across 9 versions & 1 rubygems