Sha256: 041e21e9a2861dcb012d47db2526761d35b6d173bbb12442af04ebcaf1efef5f
Contents?: true
Size: 942 Bytes
Versions: 7
Compression:
Stored size: 942 Bytes
Contents
module Volt class << self def setup_sauce_labs require "sauce" require "sauce/capybara" Sauce.config do |c| if ENV['OS'] # Use a specifc OS, BROWSER, VERSION combo (for travis) c[:browsers] = [ [ENV['OS'], ENV['USE_BROWSER'], ENV['VERSION']] ] else # Run all c[:browsers] = [ # ["Windows 7", "Chrome", "30"], # ["Windows 8", "Firefox", "28"], ["Windows 8.1", "Internet Explorer", "11"], ["Windows 8.0", "Internet Explorer", "10"], ["Windows 7.0", "Internet Explorer", "9"], # ["OSX 10.9", "iPhone", "8.1"], # ["OSX 10.8", "Safari", "6"], # ["Linux", "Chrome", "26"] ] end c[:start_local_application] = false end Capybara.default_driver = :sauce Capybara.javascript_driver = :sauce end end end
Version data entries
7 entries across 7 versions & 1 rubygems