Sha256: 8435a4ebe681a54e19d0f272ce3363ca77c432a7f804f111c4aa855d95ee15b0
Contents?: true
Size: 710 Bytes
Versions: 2
Compression:
Stored size: 710 Bytes
Contents
require 'jasmine' module Sauce module Jasmine class Driver < ::Jasmine::SeleniumDriver attr_reader :http_address, :driver, :browser def initialize(browser, http_address) @browser = browser @http_address = http_address @driver = Sauce::Selenium2.new(:browser => browser, :job_name => job_name) puts "Starting job named: #{job_name}" end def job_name "Jasmine Test Run #{Time.now.utc.to_i}" end end end end module Jasmine class Config def jasmine_port '3001' end def start @client = ::Sauce::Jasmine::Driver.new(browser, "#{jasmine_host}:#{jasmine_port}/") @client.connect end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
sauce-jasmine-2.4.0 | lib/sauce/jasmine.rb |
sauce-jasmine-2.3.1 | lib/sauce/jasmine.rb |