lib/testbot.rb in testbot-0.3.9 vs lib/testbot.rb in testbot-0.4.0

- old
+ new

@@ -6,13 +6,19 @@ module Testbot require 'railtie' if defined?(Rails) # Don't forget to update readme and changelog - VERSION = "0.3.9" + VERSION = "0.4.0" - SERVER_PID = "/tmp/testbot_server.pid" - RUNNER_PID = "/tmp/testbot_runner.pid" + if ENV['INTEGRATION_TEST'] + SERVER_PID = "/tmp/integration_test_testbot_server.pid" + RUNNER_PID = "/tmp/integration_test_testbot_runner.pid" + else + SERVER_PID = "/tmp/testbot_server.pid" + RUNNER_PID = "/tmp/testbot_runner.pid" + end + DEFAULT_WORKING_DIR = "/tmp/testbot" DEFAULT_SERVER_PATH = "/tmp/testbot/#{ENV['USER']}" DEFAULT_USER = "testbot" DEFAULT_PROJECT = "project" DEFAULT_RUNNER_USAGE = "100%"