Sha256: 679e10895acb5a1d7aedfeed5ef089cc502b2f0355b4f1044ed420dec60ac881

Contents?: true

Size: 270 Bytes

Versions: 1

Compression:

Stored size: 270 Bytes

Contents

require "test_helper"

class NokiaTest < Minitest::Test
  setup do
    @browser = Browser.new(ua: $ua["NOKIA"])
  end

  test "detects Nokia S40" do
    assert @browser.mobile?
    assert @browser.nokia?
    assert_equal @browser.name, "Nokia S40 Ovi Browser"
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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