Sha256: 8fd497b586f394f66436b500dae7485a06cfdce8ef6610e1fe9e678e4d578cbf

Contents?: true

Size: 607 Bytes

Versions: 7

Compression:

Stored size: 607 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.config.logfile = "./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

7 entries across 7 versions & 1 rubygems

Version Path
loquor-1.3.0 test/test_helper.rb
loquor-1.2.1 test/test_helper.rb
loquor-1.2.0 test/test_helper.rb
loquor-1.1.1 test/test_helper.rb
loquor-1.1.0 test/test_helper.rb
loquor-1.0.0 test/test_helper.rb
loquor-0.9.0 test/test_helper.rb