Sha256: efffd114eacd90885747f19d1fa20feade93c7f1bffbc917a5cf614b21d27858

Contents?: true

Size: 766 Bytes

Versions: 4

Compression:

Stored size: 766 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 "meducation_sdk"
require_relative 'resources/badges/badge_test.rb'

class Minitest::Test
  def setup
    Filum.config.logfile = "./log/test.log"
    MeducationSDK.config do |config|
      config.logger = mock()
      config.logger.stubs(:debug)
      config.logger.stubs(:info)
      config.logger.stubs(:error)
    end
    Loquor.config do |config|
      config.logger = MeducationSDK.config.logger
      config.access_id = "Sermo"
      config.secret_key = "foobar"
      config.endpoint = "http://localhost:3000/system"
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
meducation_sdk-1.4.4 test/test_helper.rb
meducation_sdk-1.4.3 test/test_helper.rb
meducation_sdk-1.4.2 test/test_helper.rb
meducation_sdk-1.4.1 test/test_helper.rb