remove hack that destabliazed tese suite

This commit is contained in:
Sam 2018-05-24 10:48:16 +10:00
parent 15f7d06108
commit d366f8d888
1 changed files with 0 additions and 6 deletions

View File

@ -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: {