Sha256: 2506849fee82186ebed55c1df75be48bff7185fc4fc6b3563c5bd7b71354d6f7

Contents?: true

Size: 615 Bytes

Versions: 6803

Compression:

Stored size: 615 Bytes

Contents

# frozen_string_literal: true
$LOAD_PATH.unshift(File.dirname(__FILE__))
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), "..", "lib"))

require 'bundler'
Bundler.setup
require "ethon"
require 'rspec'

if defined? require_relative
  require_relative 'support/localhost_server'
  require_relative 'support/server'
else
  require 'support/localhost_server'
  require 'support/server'
end

# Ethon.logger = Logger.new($stdout).tap do |log|
#   log.level = Logger::DEBUG
# end

RSpec.configure do |config|
  # config.order = :rand

  config.before(:suite) do
    LocalhostServer.new(TESTSERVER.new, 3001)
  end
end

Version data entries

6,803 entries across 6,801 versions & 23 rubygems

Version Path
cloudsmith-api-0.57.1 vendor/bundle/ruby/2.6.0/gems/ethon-0.14.0/spec/spec_helper.rb
ethon-0.14.0 spec/spec_helper.rb
ethon-0.13.0 spec/spec_helper.rb