mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
remove hack that destabliazed tese suite
This commit is contained in:
parent
15f7d06108
commit
d366f8d888
@ -1,11 +1,5 @@
|
|||||||
require 'rails_helper'
|
require 'rails_helper'
|
||||||
|
|
||||||
# In the ghetto ... getting the spec to run in autospec
|
|
||||||
# thing is we need to load up all auth really early pre-fork
|
|
||||||
# it means that the require is not going to get a new copy
|
|
||||||
Auth.send(:remove_const, :GithubAuthenticator)
|
|
||||||
load 'auth/github_authenticator.rb'
|
|
||||||
|
|
||||||
def auth_token_for(user)
|
def auth_token_for(user)
|
||||||
{
|
{
|
||||||
extra: {
|
extra: {
|
||||||
|
Loading…
Reference in New Issue
Block a user