Sha256: f9b539dc6b3858e032d26692a03a4a039135a3ee966e86fe217525f2e028f72b

Contents?: true

Size: 756 Bytes

Versions: 8

Compression:

Stored size: 756 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.setup("./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

8 entries across 8 versions & 1 rubygems

Version Path
meducation_sdk-1.5.7 test/test_helper.rb
meducation_sdk-1.5.6 test/test_helper.rb
meducation_sdk-1.5.5 test/test_helper.rb
meducation_sdk-1.5.4 test/test_helper.rb
meducation_sdk-1.5.3 test/test_helper.rb
meducation_sdk-1.5.2 test/test_helper.rb
meducation_sdk-1.5.1 test/test_helper.rb
meducation_sdk-1.5.0 test/test_helper.rb