Sha256: 4993a4e0d46d0572e8badf565bc8d3251a7b3264db8fb8bf809db31d073da63b

Contents?: true

Size: 622 Bytes

Versions: 2

Compression:

Stored size: 622 Bytes

Contents

require "rubygems"
require "bundler/setup"
require "test/unit"
require "sauce"

Sauce.config do |c|
  c[:browsers] = [
      ["Windows 7", "Firefox", "18"]
  ]
end

class IntegrationTest < Sauce::TestCase

  # Called before every test method runs. Can be used
  # to set up fixture information.
  def setup
    # Do nothing
  end

  # Called after every test method runs. Can be used to tear
  # down fixture information.

  def teardown

  end

  def test_testunit_is_set_in_sauce_config
    capabilities = Sauce.get_config.to_desired_capabilities
    assert_includes capabilities[:client_version], "Test::Unit"
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sauce-2.4.6 spec/integration/testunit/test/integration_test.rb
sauce-2.4.5 spec/integration/testunit/test/integration_test.rb