spec/integration/spec_helper.rb in braintree-1.1.1 vs spec/integration/spec_helper.rb in braintree-1.1.2
- old
+ new
@@ -5,10 +5,9 @@
require File.dirname(__FILE__) + "/../hacks/tcp_socket"
Spec::Runner.configure do |config|
CLIENT_LIB_ROOT = File.expand_path(File.dirname(__FILE__) + "/../..")
GATEWAY_ROOT = File.expand_path("#{CLIENT_LIB_ROOT}/../gateway")
- GATEWAY_SERVER_PORT = 3000
GATEWAY_PID_FILE = "/tmp/gateway_server_#{Braintree::Configuration.port}.pid"
SPHINX_PID_FILE = "#{GATEWAY_ROOT}/log/searchd.integration.pid"
gateway_already_started = File.exist?(GATEWAY_PID_FILE)
sphinx_already_started = File.exist?(SPHINX_PID_FILE)