Skip to content

A platform for community discussion. Free, open, simple.

remove hack that destabliazed tese suite

Samd366f8d888f5
diff --git a/spec/components/auth/github_authenticator_spec.rb b/spec/components/auth/github_authenticator_spec.rb
index 02bcb987c77..50c5cdf0f2d 100644
--- a/spec/components/auth/github_authenticator_spec.rb
+++ b/spec/components/auth/github_authenticator_spec.rb
@@ -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: {