Sha256: ed4a011f91de8c1e941c5d227fb09fbbaa619a69ce7c5c70e4fdefd2f020a8a4
Contents?: true
Size: 884 Bytes
Versions: 2
Compression:
Stored size: 884 Bytes
Contents
require "rubygems" require "spec" require "spec/autorun" require "selenium_rc" dir = File.dirname(__FILE__) require "#{dir}/functional_spec_server_starter" Spec::Runner.configure do |config| config.mock_with :rr end Thin::Logging.silent = false Thin::Logging.debug = true class Spec::ExampleGroup include WaitFor attr_reader :spec_root_path, :implementation_root_path, :public_path before(:all) do @spec_root_path = FunctionalSpecServerStarter.spec_root_path @public_path = FunctionalSpecServerStarter.public_path @implementation_root_path = FunctionalSpecServerStarter.implementation_root_path # Thread.start do # SeleniumRC::Server.boot # end FunctionalSpecServerStarter.call TCPSocket.wait_for_service :host => "0.0.0.0", :port => "4444" end def root_url "http://#{ScrewUnit::DEFAULT_HOST}:#{ScrewUnit::DEFAULT_PORT}" end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
pivotal-screw-unit-0.4.0 | spec/functional/functional_spec_helper.rb |
pivotal-screw-unit-0.4.1 | spec/functional/functional_spec_helper.rb |