Sha256: 5149b1d33c358655532d1e1c9ad1f782cc1080492678aa8f3a4aad69eea99778
Contents?: true
Size: 368 Bytes
Versions: 2
Compression:
Stored size: 368 Bytes
Contents
require File.expand_path('../helper', __FILE__) class TestSafari < MiniTest::Unit::TestCase should "be safari on mac" do request = get_request(:Safari, '4.0.1') assert request.safari? assert request.mac? end should "be safari on windows" do request = get_request(:Safari, '4.0.3') assert request.safari? assert request.pc? end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
which_browser-0.2.2 | test/test_safari.rb |
which_browser-0.2.1 | test/test_safari.rb |