Sha256: 67e2dac68ecc6e38092ec920caa4261c3e0af0b6ca84b162415b8f3f41fe05e3

Contents?: true

Size: 667 Bytes

Versions: 4

Compression:

Stored size: 667 Bytes

Contents

require 'helper'

class TestSelenium < Test::Unit::TestCase
  context "The Sauce Selenium driver" do
    should "Connect successfully using credentials from the environment" do
      assert ENV['SAUCE_USERNAME'], "You haven't configured a Sauce OnDemand username. Please set $SAUCE_USERNAME"
      assert ENV['SAUCE_ACCESS_KEY'], "You haven't configured a Sauce OnDemand access key. Please set $SAUCE_ACCESS_KEY"
      selenium = Sauce::Selenium.new(:job_name => "Sauce gem test suite: test_selenium.rb",
                                     :browser_url => "http://www.google.com/")
      selenium.start
      selenium.open "/"
      selenium.stop
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
sauce-0.14.2 test/test_selenium.rb
sauce-0.14.1 test/test_selenium.rb
sauce-0.14.0 test/test_selenium.rb
sauce-0.13.2 test/test_selenium.rb