Sha256: 02ba614f9e29ca6d3fc6e2a135e88f9d4668f3ae7c8fd344d25f0a88d1878810

Contents?: true

Size: 337 Bytes

Versions: 17

Compression:

Stored size: 337 Bytes

Contents

class FakeSeleniumDriver
  SESSION_ID = "DEADBEEF"
  attr_reader :session_id

  def initialize
    @session_id = nil
  end

  def start
    @session_id = SESSION_ID
  end

  def stop
    @session_id = nil
  end

  def open(url)
  end

  def create_cookie(key_value, options="")

  end

  def session_started?
    !!@session_id
  end
end

Version data entries

17 entries across 17 versions & 4 rubygems

Version Path
pivotal-screw-unit-0.5.0 vendor/js-test-core/spec/spec_helpers/fake_selenium_driver.rb
pivotal-screw-unit-0.5.1 vendor/js-test-core/spec/spec_helpers/fake_selenium_driver.rb
pivotal-screw-unit-0.5.2 vendor/js-test-core/spec/spec_helpers/fake_selenium_driver.rb
pivotal-screw-unit-0.5.3 vendor/js-test-core/spec/spec_helpers/fake_selenium_driver.rb
pivotal-screw-unit-server-0.5.10 vendor/js-test-core/spec/spec_helpers/fake_selenium_driver.rb
pivotal-screw-unit-server-0.5.11 vendor/js-test-core/spec/spec_helpers/fake_selenium_driver.rb
pivotal-screw-unit-server-0.5.12 vendor/js-test-core/spec/spec_helpers/fake_selenium_driver.rb
pivotal-screw-unit-server-0.5.3 vendor/js-test-core/spec/spec_helpers/fake_selenium_driver.rb
pivotal-screw-unit-server-0.5.4 vendor/js-test-core/spec/spec_helpers/fake_selenium_driver.rb
pivotal-screw-unit-server-0.5.5 vendor/js-test-core/spec/spec_helpers/fake_selenium_driver.rb
pivotal-screw-unit-server-0.5.6 vendor/js-test-core/spec/spec_helpers/fake_selenium_driver.rb
pivotal-screw-unit-server-0.5.7 vendor/js-test-core/spec/spec_helpers/fake_selenium_driver.rb
pivotal-screw-unit-server-0.5.8 vendor/js-test-core/spec/spec_helpers/fake_selenium_driver.rb
pivotal-screw-unit-server-0.5.9 vendor/js-test-core/spec/spec_helpers/fake_selenium_driver.rb
screw-unit-0.5.1 vendor/js-test-core/spec/spec_helpers/fake_selenium_driver.rb
screw-unit-0.5.2 vendor/js-test-core/spec/spec_helpers/fake_selenium_driver.rb
screw-unit-server-0.5.3 vendor/js-test-core/spec/spec_helpers/fake_selenium_driver.rb