Sha256: 600d8f0ac35304dc4ff3ead8b01e05c978898487e4e5422d429cf0d625c4fc8c
Contents?: true
Size: 361 Bytes
Versions: 21
Compression:
Stored size: 361 Bytes
Contents
# frozen_string_literal: true require "test_helper" class IosAppTest < Minitest::Test let(:browser) { Browser.new(Browser["IOS_WEBVIEW"]) } test "detect as ios" do assert browser.platform.ios? end test "don't detect as safari" do refute browser.safari? end test "detect as webview" do assert browser.platform.ios_webview? end end
Version data entries
21 entries across 21 versions & 1 rubygems