Sha256: c8394ac58358711965de8fb659b8f1b759ff55e145cc983f9e5c08a7c4ca7ba3
Contents?: true
Size: 439 Bytes
Versions: 10
Compression:
Stored size: 439 Bytes
Contents
require 'rack' require 'helper/spec_helper' require 'support/test_server' # Start a local rack server to serve up dummy data. server_thread = Thread.new do Rack::Handler::WEBrick.run( TestServer.new, :Port => 9292, :AccessLog => [], :Logger => WEBrick::Log::new("/dev/null", 7) ) end sleep(1) # wait a sec for the server to be boot RSpec.configure do |config| config.after(:suite) { server_thread.kill } end
Version data entries
10 entries across 10 versions & 1 rubygems