Sha256: e6afd1eed1887a9399387f8e57f2a215f108b6c31514b0facd0692eeadc4720e

Contents?: true

Size: 334 Bytes

Versions: 20

Compression:

Stored size: 334 Bytes

Contents

# frozen_string_literal: true

require "test_helper"

class ElectronTest < Minitest::Test
  test "detect electron" do
    browser = Browser.new(Browser["ELECTRON"])

    assert_equal "Electron", browser.name
    assert browser.electron?
    assert_equal :electron, browser.id
    assert_equal "1.4.12", browser.full_version
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
browser-5.3.1 test/unit/electron_test.rb
browser-5.3.0 test/unit/electron_test.rb
browser-5.2.0 test/unit/electron_test.rb
browser-5.1.0 test/unit/electron_test.rb
browser-5.0.0 test/unit/electron_test.rb
browser-4.2.0 test/unit/electron_test.rb
browser-4.1.0 test/unit/electron_test.rb
browser-4.0.0 test/unit/electron_test.rb
browser-3.0.3 test/unit/electron_test.rb
browser-3.0.2 test/unit/electron_test.rb
browser-3.0.1 test/unit/electron_test.rb
browser-3.0.0 test/unit/electron_test.rb
browser-2.7.1 test/unit/electron_test.rb
browser-2.7.0 test/unit/electron_test.rb
browser-2.6.1 test/unit/electron_test.rb
browser-2.6.0 test/unit/electron_test.rb
browser-2.5.3 test/unit/electron_test.rb
browser-2.5.2 test/unit/electron_test.rb
browser-2.5.1 test/unit/electron_test.rb
browser-2.5.0 test/unit/electron_test.rb