Sha256: be09d302864e1e77ed614f9be00a8c5c81f67662d73d4de1087df00235b9064d

Contents?: true

Size: 597 Bytes

Versions: 1

Compression:

Stored size: 597 Bytes

Contents

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 "loquor"

class Minitest::Test
  def setup
    Filum.setup("./log/test.log")
    Loquor.config do |config|
      config.access_id = "Sermo"
      config.secret_key = "foobar"
      config.endpoint = "http://localhost:3000"

      config.logger = mock()
      config.logger.stubs(:debug)
      config.logger.stubs(:info)
      config.logger.stubs(:error)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
loquor-1.4.0 test/test_helper.rb