Sha256: 95c5207dcb44b0a417e9d44276479419e2e964610a11a5c487596fbbbdd9424e

Contents?: true

Size: 781 Bytes

Versions: 1

Compression:

Stored size: 781 Bytes

Contents

#require "codeclimate-test-reporter"
#CodeClimate::TestReporter.start

gem "minitest"
require "minitest/autorun"
require "minitest/pride"
require "minitest/mock"
require "mocha/setup"

lib = File.expand_path('../../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)

require "pergo"

#Fog.mock!

class Minitest::Test
  def setup
    Pergo::Configuration.instance.access_key = "test-access-key"
    Pergo::Configuration.instance.secret_key = "test-secret-key"
    Pergo::Configuration.instance.topic = "test-topic"
    Pergo::Configuration.instance.queue_region = "test-queue-region"
    Pergo::Configuration.instance.host = "http://udp.example.com"
    Pergo::Configuration.instance.port = 1234
  end

  def config
    Pergo::Configuration.instance
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pergo-0.2.0 test/test_helper.rb