mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
remove hack that destabliazed tese suite
This commit is contained in:
parent
15f7d06108
commit
d366f8d888
1 changed files with 0 additions and 6 deletions
|
@ -1,11 +1,5 @@
|
|||
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)
|
||||
{
|
||||
extra: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue