Sha256: d79d97d68e948218c5e14bebaa9d0d43e6fcbc75383743de355f22b7163e553f
Contents?: true
Size: 687 Bytes
Versions: 2
Compression:
Stored size: 687 Bytes
Contents
require 'rubygems' require 'spec' require 'rr' dir = File.dirname(__FILE__) $LOAD_PATH.unshift(File.expand_path("#{dir}/../lib")) require "tmpdir" require "hpricot" require 'tempfile' require "polonium" require File.dirname(__FILE__) + "/polonium/test_case_spec_helper" Test::Unit.run = true Spec::Runner.configure do |config| config.mock_with :rr end module Polonium::WaitFor def time_class @time_class ||= FakeTimeClass.new end def sleep(time) end end class FakeTimeClass def initialize @now = Time.now end def now @now += 1 end end describe "Selenium", :shared => true do def result(response_text=nil) "OK,#{response_text}" end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
polonium-0.3.1 | spec/spec_helper.rb |
polonium-0.3.0 | spec/spec_helper.rb |