Sha256: e24ae74bc350ed432b4b2de1e6216b59bfc72183d5a98f248b9b92ae6ff38fcd

Contents?: true

Size: 528 Bytes

Versions: 3

Compression:

Stored size: 528 Bytes

Contents

require File.expand_path('../helper', __FILE__)
	
class TestFirefox < MiniTest::Unit::TestCase

  # firefox tests
  
  should "be firefox on mac" do
  	request = get_request(:Firefox, '3.6')  	
  	assert request.firefox?
  	assert request.mac?
  end

  should "be firefox on pc" do
  	request = get_request(:Firefox, '3.1')  	
  	assert request.firefox?
  	assert request.pc?
  end
  
  should "be firefox on linux" do
  	request = get_request(:Firefox, '3.5')  	
  	assert request.firefox?
  	assert request.linux?
  end
  
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
which_browser-0.2.2 test/test_firefox.rb
which_browser-0.2.1 test/test_firefox.rb
which_browser-0.2.0 test/test_firefox.rb