Sha256: 9c0cfa35b1e007dbbad9ad885fd5f3a9cc635dca86e907c45ad267c8539dd828

Contents?: true

Size: 753 Bytes

Versions: 26

Compression:

Stored size: 753 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/spi"
    end
  end
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
meducation_sdk-2.2.0 test/test_helper.rb
meducation_sdk-2.1.4 test/test_helper.rb
meducation_sdk-2.1.3 test/test_helper.rb
meducation_sdk-2.1.2 test/test_helper.rb
meducation_sdk-2.1.1 test/test_helper.rb
meducation_sdk-2.1.0 test/test_helper.rb
meducation_sdk-2.0.5 test/test_helper.rb
meducation_sdk-2.0.4 test/test_helper.rb
meducation_sdk-2.0.3 test/test_helper.rb
meducation_sdk-2.0.2 test/test_helper.rb
meducation_sdk-2.0.1 test/test_helper.rb
meducation_sdk-2.0.0 test/test_helper.rb
meducation_sdk-1.6.16 test/test_helper.rb
meducation_sdk-1.6.15 test/test_helper.rb
meducation_sdk-1.6.14 test/test_helper.rb
meducation_sdk-1.6.13 test/test_helper.rb
meducation_sdk-1.6.12 test/test_helper.rb
meducation_sdk-1.6.11 test/test_helper.rb
meducation_sdk-1.6.10 test/test_helper.rb
meducation_sdk-1.6.6 test/test_helper.rb