Sha256: 7fe40a2eb53f001c586b8db81ffb1afe7a446965355ca340a139be0e6c5f091b

Contents?: true

Size: 703 Bytes

Versions: 3

Compression:

Stored size: 703 Bytes

Contents

require 'rspec'

require 'webmock/rspec'
WebMock.disable_net_connect! allow: "codeclimate.com"

if ENV["CODECLIMATE_REPO_TOKEN"]
  require "codeclimate-test-reporter"
  CodeClimate::TestReporter.start
end

# Requires supporting ruby files with custom matchers and macros, etc,
# in spec/support/ and its subdirectories.
Dir["spec/support/**/*.rb"].each { |filename| load filename }

require 'roqua/healthy'
Roqua::Healthy.a19_endpoint = "http://10.220.0.101:60101"

require 'stringio'
LOG_FILE = StringIO.new
Roqua.logger = Logger.new(LOG_FILE)

RSpec.configure do |config|
  config.after(:suite) do
    if ENV["DEBUG"]
      LOG_FILE.rewind
      puts "", "Log file: ", LOG_FILE.read
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
roqua-healthy-1.4.1 spec/spec_helper.rb
roqua-healthy-1.3.0 spec/spec_helper.rb
roqua-healthy-1.2.1 spec/spec_helper.rb