Sha256: 183e1b3eecf2c5142a313c0aaa287e5f862dbedaf7f65e8d0dea36933f37cdc2

Contents?: true

Size: 644 Bytes

Versions: 9

Compression:

Stored size: 644 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.instance_variable_set :@config, nil
    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

9 entries across 9 versions & 1 rubygems

Version Path
loquor-1.13.0 test/test_helper.rb
loquor-1.12.0 test/test_helper.rb
loquor-1.11.0 test/test_helper.rb
loquor-1.10.0 test/test_helper.rb
loquor-1.9.0 test/test_helper.rb
loquor-1.8.0 test/test_helper.rb
loquor-1.7.0 test/test_helper.rb
loquor-1.6.0 test/test_helper.rb
loquor-1.5.0 test/test_helper.rb