Sha256: 331f4854f2e731df48f70003c2db68daa7e722b5e04e1ebbaef72b126410abe2

Contents?: true

Size: 961 Bytes

Versions: 17

Compression:

Stored size: 961 Bytes

Contents

require 'rubygems'
require 'test/unit'
require 'net/telnet'
require 'fileutils'

$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
$LOAD_PATH.unshift(File.dirname(__FILE__))
require 'sauce'

include Sauce::Utilities

Sauce.config do |config|
  config.browsers = [
    ["Windows 2003", "firefox", "3.6."],
    ["Windows 2003", "safariproxy", "5."]
  ]
  config.browser_url = "http://saucelabs.com"

  #config.application_host = "localhost"
  #config.application_port = "4444"
end

def ensure_rvm_installed
  rvm_executable = File.expand_path("~/.rvm/bin/rvm")
  if File.exist? rvm_executable
    unless defined?(RVM)
      rvm_lib_path = File.expand_path("~/.rvm/lib")
      $LOAD_PATH.unshift(rvm_lib_path) unless $LOAD_PATH.include?(rvm_lib_path)
      require 'rvm'
    end
  else
    raise "You do not have RVM installed. It is required for the integration tests.\n" +
      "Please install it from http://rvm.beginrescueend.com/"
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
sauce-0.17.8 test/helper.rb
sauce-0.17.7 test/helper.rb
sauce-0.17.6 test/helper.rb
sauce-0.17.5 test/helper.rb
sauce-0.17.4 test/helper.rb
sauce-0.17.3 test/helper.rb
sauce-0.17.3.alpha2 test/helper.rb
sauce-0.17.3.alpha1 test/helper.rb
sauce-0.17.2 test/helper.rb
sauce-0.17.1 test/helper.rb
sauce-0.17.0 test/helper.rb
sauce-0.16.2 test/helper.rb
sauce-0.16.1 test/helper.rb
sauce-0.15.1 test/helper.rb
sauce-0.15.0 test/helper.rb
sauce-0.15.0.alpha.2 test/helper.rb
sauce-0.15.0.alpha.1 test/helper.rb