move mocha requirement to test_helper
This commit is contained in:
Родитель
518bd85123
Коммит
27cf716c65
|
@ -1,5 +1,4 @@
|
|||
require_relative 'test_helper'
|
||||
require 'mocha/mini_test'
|
||||
|
||||
module GitHubLdapDomainTestCases
|
||||
def setup
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
require_relative 'test_helper'
|
||||
require 'mocha/mini_test'
|
||||
|
||||
module GitHubLdapTestCases
|
||||
def setup
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
require_relative 'test_helper'
|
||||
require 'mocha/mini_test'
|
||||
|
||||
class GitHubLdapReferralChaserTestCases < GitHub::Ldap::Test
|
||||
|
||||
|
|
|
@ -13,6 +13,8 @@ require 'github/ldap/server'
|
|||
require 'minitest/mock'
|
||||
require 'minitest/autorun'
|
||||
|
||||
require 'mocha/mini_test'
|
||||
|
||||
if ENV.fetch('TESTENV', "apacheds") == "apacheds"
|
||||
# Make sure we clean up running test server
|
||||
# NOTE: We need to do this manually since its internal `at_exit` hook
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
require_relative '../test_helper'
|
||||
require 'mocha/mini_test'
|
||||
|
||||
class GitHubLdapActiveDirectoryUserSearchTests < GitHub::Ldap::Test
|
||||
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
require_relative '../test_helper'
|
||||
require 'mocha/mini_test'
|
||||
|
||||
class GitHubLdapActiveDirectoryUserSearchTests < GitHub::Ldap::Test
|
||||
def setup
|
||||
|
|
Загрузка…
Ссылка в новой задаче