Sha256: 9749f912b2396aab61b38757415f15072e441e9ebb49e65c648f2f28dc3223a3

Contents?: true

Size: 502 Bytes

Versions: 4

Compression:

Stored size: 502 Bytes

Contents

require 'simplecov'
SimpleCov.start

require 'bundler/setup'
require 'minitest/autorun'
require 'mocha/setup'
require 'omniauth/strategies/matique'

OmniAuth.config.test_mode = true

def assert_has_key(key, hash, msg = nil)
  msg = message(msg) { "Expected #{hash.inspect} to have key #{key.inspect}" }
  assert hash.has_key?(key), msg
end

def refute_has_key(key, hash, msg = nil)
  msg = message(msg) { "Expected #{hash.inspect} not to have key #{key.inspect}" }
  refute hash.has_key?(key), msg
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
omniauth-matique-0.1.5 test/test_helper.rb
omniauth-matique-0.1.3 test/test_helper.rb
omniauth-matique-0.1.2 test/test_helper.rb
omniauth-matique-0.1.1 test/test_helper.rb