Sha256: c087a8fe292578adad9a882dedf2bca4ff8f6f81410aaa28db0cad19f15bbf8f
Contents?: true
Size: 680 Bytes
Versions: 4
Compression:
Stored size: 680 Bytes
Contents
require "drb/drb" module Spec module Runner # Facade to run specs by connecting to a DRB server class DrbCommandLine # Runs specs on a DRB server. Note that this API is similar to that of # CommandLine - making it possible for clients to use both interchangeably. def self.run(argv, stderr, stdout, exit=false, warn_if_no_files=true) begin DRb.start_service rails_spec_server = DRbObject.new_with_uri("druby://localhost:8989") rails_spec_server.run(argv, stderr, stdout) rescue DRb::DRbConnError stderr.puts "No server is running" exit 1 if exit end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems