Sha256: 250bb1dc8c5f67e86d45868364227d0720fcb207472f1fe980561f004fb787d9
Contents?: true
Size: 378 Bytes
Versions: 24
Compression:
Stored size: 378 Bytes
Contents
# frozen_string_literal: true require "test_helper" class NokiaTest < Minitest::Test test "detects Nokia S40" do browser = Browser.new(Browser["NOKIA"]) assert browser.nokia? assert_equal "Nokia S40 Ovi Browser", browser.name end test "detects version by range" do browser = Browser.new(Browser["NOKIA"]) assert browser.nokia?(%w[>=2 <3]) end end
Version data entries
24 entries across 24 versions & 1 rubygems